Skip to content

Enable zoned write pipelining for UFS devices

Bart Van Assche linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 13 repliesIn review
  2. v18 patches 28 repliesSuperseded

Changes in v2 from the cover letter

- Left out the patches that are already upstream.
- Switched the approach in patch "scsi: Retry unaligned zoned writes" from retrying immediately to sending unaligned write commands to the SCSI error handler.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5block: Introduce a request queue flag for pipelining zoned writesinclude/linux/blkdev.h+7 -03 replies
2/5block/mq-deadline: Only use zone locking if necessaryblock/blk-zoned.c block/mq-deadline.c+11 -63 replies
3/5block/null_blk: Add support for pipelining zoned writesdrivers/block/null_blk/main.c drivers/block/null_blk/null_blk.h drivers/block/null_blk/zoned.c+6 -00 replies
4/5scsi: Retry unaligned zoned writesdrivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c drivers/scsi/sd.c +1 more+42 -07 replies
5/5scsi: ufs: Enable zoned write pipeliningdrivers/ufs/core/ufshcd.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Enable zoned write pipelining for UFS devices

Hi Jens,

This patch series improves write performance for zoned UFS devices. Please consider these patches for the next merge window.

Thank you,

Bart.

Changes compared to v1:
- Left out the patches that are already upstream.
- Switched the approach in patch "scsi: Retry unaligned zoned writes" from retrying immediately to sending unaligned write commands to the SCSI error handler.

Bart Van Assche (5):
block: Introduce a request queue flag for pipelining zoned writes block/mq-deadline: Only use zone locking if necessary block/null_blk: Add support for pipelining zoned writes
scsi: Retry unaligned zoned writes
scsi: ufs: Enable zoned write pipelining

 block/blk-zoned.c                 |  3 ++-
 block/mq-deadline.c               | 14 +++++++-----
 drivers/block/null_blk/main.c     |  2 ++
 drivers/block/null_blk/null_blk.h |  1 +
 drivers/block/null_blk/zoned.c    |  3 +++
 drivers/scsi/scsi_error.c         | 37 +++++++++++++++++++++++++++++++
 drivers/scsi/scsi_lib.c           |  1 +
 drivers/scsi/sd.c                 |  3 +++
 drivers/ufs/core/ufshcd.c         |  1 +
 include/linux/blkdev.h            |  7 ++++++
 include/scsi/scsi.h               |  1 +
 11 files changed, 67 insertions(+), 6 deletions(-)