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

Christoph Hellwig
2025-06-12T04:47:50Z

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?