Use REQ_OP_WRITE_SAME to implement WRITE SAME
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: Add blkdev_submit_write_same()block/ include/ | +39 | 0 replies | |
| 2/2 | target/core: Use REQ_OP_WRITE_SAME to implement WRITE SAMEdrivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Use REQ_OP_WRITE_SAME to implement WRITE SAME
Hi Martin,
The SCSI target iblock backend uses regular writes to implement the SCSI WRITE SAME command. That is suboptimal for at least SCSI and NVMe SSDs. This patch series makes the iblock backend use REQ_OP_WRITE_SAME instead. Please consider these patches for inclusion in the upstream kernel.
Thanks,
Bart.
Bart Van Assche (2):
block: Add blkdev_submit_write_same() target/core: Use REQ_OP_WRITE_SAME to implement WRITE SAME
block/blk-lib.c | 37 ++++++++++++++++++++++++++++- drivers/target/target_core_iblock.c | 17 +++++++++++++ include/linux/blkdev.h | 3 +++ 3 files changed, 56 insertions(+), 1 deletion(-)
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog