All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Improve requeuing behavior
@ 2017-08-30 23:58 Bart Van Assche
  2017-08-30 23:58 ` [PATCH v3 1/4] Call scsi_initialize_rq() also for filesystem requests Bart Van Assche
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Bart Van Assche @ 2017-08-30 23:58 UTC (permalink / raw)
  To: Martin K . Petersen, James E . J . Bottomley; +Cc: linux-scsi, Bart Van Assche

Hello Martin,

The conclusion of a recent discussion is that .jiffies_at_alloc and .retries
should be set once at the start of a lifetime of a SCSI request instead of
every time a request is requeued. This patch series realizes that and also
ensures that a request is unprepared and reprepared when requeued. Please
consider these patches for kernel v4.14.

Thanks,

Bart.

Changes between v2 and v3:
- Removed a WARN_ON_ONCE() statement from the first patch ("Call
  scsi_initialize_rq() also for filesystem requests".)
- Fixed handling of jiffies_at_alloc in patch 2/3.
- Converted jiffies_at_alloc to seconds in patch 3/3 before printing.
- Added a fourth patch, namely "scsi-mq: Always unprepare before requeuing a
  request".

Changes between v1 and v2:
- Added two more patches next to "Improve requeuing behavior".

Bart Van Assche (4):
  Call scsi_initialize_rq() also for filesystem requests
  Improve requeuing behavior
  Show .retries and .jiffies_at_alloc in debugfs
  scsi-mq: Always unprepare before requeuing a request

 drivers/scsi/scsi_debugfs.c |  4 +++-
 drivers/scsi/scsi_lib.c     | 51 ++++++++++++++++++++++++++++++++++++++-------
 include/scsi/scsi_cmnd.h    |  3 +++
 3 files changed, 49 insertions(+), 9 deletions(-)

-- 
2.14.1

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

end of thread, other threads:[~2017-09-01  3:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 23:58 [PATCH v3 0/4] Improve requeuing behavior Bart Van Assche
2017-08-30 23:58 ` [PATCH v3 1/4] Call scsi_initialize_rq() also for filesystem requests Bart Van Assche
2017-08-31  7:13   ` Johannes Thumshirn
2017-08-31 10:04   ` Christoph Hellwig
2017-08-30 23:58 ` [PATCH v3 2/4] Improve requeuing behavior Bart Van Assche
2017-08-31  7:14   ` Johannes Thumshirn
2017-08-31 10:04   ` Christoph Hellwig
2017-08-30 23:58 ` [PATCH v3 3/4] Show .retries and .jiffies_at_alloc in debugfs Bart Van Assche
2017-08-31  7:15   ` Johannes Thumshirn
2017-08-31 10:04   ` Christoph Hellwig
2017-08-30 23:58 ` [PATCH v3 4/4] scsi-mq: Always unprepare before requeuing a request Bart Van Assche
2017-08-31  7:16   ` Johannes Thumshirn
2017-08-31 10:05   ` Christoph Hellwig
2017-09-01  3:10 ` [PATCH v3 0/4] Improve requeuing behavior Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.