linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ufs: Do not requeue while ungating the clock
@ 2023-05-04 23:50 Bart Van Assche
  2023-05-04 23:50 ` [PATCH 1/5] scsi: core: Rework scsi_host_block() Bart Van Assche
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Bart Van Assche @ 2023-05-04 23:50 UTC (permalink / raw)
  To: Martin K . Petersen; +Cc: Jaegeuk Kim, linux-scsi, Bart Van Assche

Hi Martin,

In the traces we recorded while testing zoned storage we noticed that UFS
commands are requeued while the clock is being ungated. Command requeueing
makes it harder than necessary to preserve the command order. Hence this
patch series that modifies the SCSI core and also the UFS driver such that
clock ungating does not trigger command requeueing.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (5):
  scsi: core: Rework scsi_host_block()
  scsi: core: Support setting BLK_MQ_F_BLOCKING
  scsi: ufs: Enable the BLK_MQ_F_BLOCKING flag
  scsi: ufs: core: Unexport ufshcd_hold() and ufshcd_release()
  scsi: ufs: Ungate the clock synchronously

 drivers/scsi/scsi_lib.c          | 26 ++++++-----
 drivers/ufs/core/ufs-sysfs.c     |  2 +-
 drivers/ufs/core/ufshcd-crypto.c |  2 +-
 drivers/ufs/core/ufshcd-priv.h   |  2 +-
 drivers/ufs/core/ufshcd.c        | 78 ++++++++++----------------------
 include/scsi/scsi_host.h         |  3 ++
 include/ufs/ufshcd.h             |  3 --
 7 files changed, 45 insertions(+), 71 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-05-17 21:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 23:50 [PATCH 0/5] ufs: Do not requeue while ungating the clock Bart Van Assche
2023-05-04 23:50 ` [PATCH 1/5] scsi: core: Rework scsi_host_block() Bart Van Assche
2023-05-05 15:44   ` Mike Christie
2023-05-04 23:50 ` [PATCH 2/5] scsi: core: Support setting BLK_MQ_F_BLOCKING Bart Van Assche
2023-05-05 15:44   ` Mike Christie
2023-05-04 23:50 ` [PATCH 3/5] scsi: ufs: Enable the BLK_MQ_F_BLOCKING flag Bart Van Assche
2023-05-04 23:50 ` [PATCH 4/5] scsi: ufs: core: Unexport ufshcd_hold() and ufshcd_release() Bart Van Assche
2023-05-05 18:40   ` Bao D. Nguyen
2023-05-05 19:00     ` Bart Van Assche
2023-05-07  5:20       ` Bao D. Nguyen
2023-05-04 23:50 ` [PATCH 5/5] scsi: ufs: Ungate the clock synchronously Bart Van Assche
2023-05-07  7:08   ` Avri Altman
2023-05-17 21:33     ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).