[PATCH 0/2] Use REQ_OP_WRITE_SAME to implement WRITE SAME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.22.0.410.gd8fdbe21b5-goog




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux