[RFC PATCH v4 07/11] fs: statx add write zeroes unmap attribute

Christoph Hellwig hch at lst.de
Tue May 6 05:10:12 PDT 2025


On Tue, May 06, 2025 at 07:25:06PM +0800, Zhang Yi wrote:
> +       if (request_mask & STATX_WRITE_ZEROES_UNMAP &&
> +           bdev_write_zeroes_unmap(bdev))
> +               stat->result_mask |= STATX_WRITE_ZEROES_UNMAP;

That would be my expectation.  But then again this area seems to
confuse me a lot, so maybe we'll get Christian or Dave to chim in.




More information about the Linux-nvme mailing list