All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Avoid that __scsi_remove_device() hangs
@ 2017-04-10 17:53 Bart Van Assche
  2017-04-10 17:53 ` [PATCH v2 1/4] Introduce scsi_start_queue() Bart Van Assche
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bart Van Assche @ 2017-04-10 17:53 UTC (permalink / raw)
  To: Martin K . Petersen, James Bottomley; +Cc: linux-scsi, Bart Van Assche

Several weeks ago Israel Rukshin reported that __scsi_remove_device()
hangs if it is waiting for the SYNCHRONIZE CACHE command submitted by
the sd driver to finish if the block layer queue is stopped and does
not get restarted. This patch series avoids that that hang occurs.

Bart Van Assche (4):
  Introduce scsi_start_queue()
  Introduce scsi_execute_async()
  sd: Make synchronize cache upon shutdown asynchronous
  Avoid that __scsi_remove_device() hangs

 drivers/scsi/scsi_lib.c    | 114 ++++++++++++++++++++++++++++++++++-----------
 drivers/scsi/scsi_priv.h   |   1 +
 drivers/scsi/scsi_sysfs.c  |   9 ++++
 drivers/scsi/sd.c          |  25 +++++++++-
 include/scsi/scsi_device.h |   4 ++
 5 files changed, 124 insertions(+), 29 deletions(-)

-- 
2.12.0

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

end of thread, other threads:[~2017-04-13  0:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 17:53 [PATCH v2 0/4] Avoid that __scsi_remove_device() hangs Bart Van Assche
2017-04-10 17:53 ` [PATCH v2 1/4] Introduce scsi_start_queue() Bart Van Assche
2017-04-10 17:54 ` [PATCH v2 2/4] Introduce scsi_execute_async() Bart Van Assche
2017-04-10 17:54 ` [PATCH v2 3/4] sd: Make synchronize cache upon shutdown asynchronous Bart Van Assche
2017-04-12 14:41   ` Benjamin Block
2017-04-13  0:28     ` Bart Van Assche
2017-04-10 17:54 ` [PATCH v2 4/4] Avoid that __scsi_remove_device() hangs Bart Van Assche

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.