Re: [PATCH 01/10] block: introduce BLK_FEAT_WRITE_ZEROES_UNMAP to queue limits features

From: Christoph Hellwig
Date: Thu Jun 12 2025 - 00:48:14 EST


On Wed, Jun 11, 2025 at 03:31:21PM +0800, Zhang Yi wrote:
> >> +/* supports unmap write zeroes command */
> >> +#define BLK_FEAT_WRITE_ZEROES_UNMAP ((__force blk_features_t)(1u << 17))
> >
> >
> > Should this be exposed through sysfs as a read-only value?
>
> Uh, are you suggesting adding another sysfs interface to expose
> this feature?

That was the idea. Or do we have another way to report this capability?