Re: [PATCH v3 2/3] block: introduce new field bd_flags in block_device

From: Christoph Hellwig
Date: Wed Nov 22 2023 - 02:53:38 EST


On Wed, Nov 22, 2023 at 03:45:24PM +0800, Ming Lei wrote:
> All the existed 'bool' flags are not atomic RW, so I think it isn't
> necessary to define 'bd_flags' as 'unsigned long' for replacing them.

So because the old code wasn't correct we'll never bother? The new
flag and the new placement certainly make this more critical as well.