[PATCH 5/5] nvmet: add support for the Write Zeroes command

Christoph Hellwig hch at infradead.org
Thu Nov 17 02:28:54 PST 2016


> +	if (__blkdev_issue_zeroout(req->ns->bdev, sector, nr_sector,
> +				GFP_KERNEL, &bio, false))

FYI, the NVMe working group has recently clarified that Write Zeroes
can deallocate the underlying LBAs, so we can pass true instead of false
here.



More information about the Linux-nvme mailing list