[PATCH v2 2/5] block: add support for REQ_OP_WRITE_ZEROES
Martin K. Petersen
martin.petersen at oracle.com
Thu Nov 17 18:22:33 PST 2016
>>>>> "Chaitanya" == Chaitanya Kulkarni <ckulkarnilinux at gmail.com> writes:
Chaitanya> This adds a new block layer operation to zero out a range of
Chaitanya> LBAs. This allows to implement zeroing for devices that don't
Chaitanya> use either discard with a predictable zero pattern or WRITE
Chaitanya> SAME of zeroes. The prominent example of that is NVMe with
Chaitanya> the Write Zeroes command, but in the future this should also
Chaitanya> help with improving the way zeroing discards work.
Looks good. Please also export the queue limit in blk-sysfs.c and create
a suitable entry in Documentation/ABI/testing/sysfs-block.
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list