Re: [PATCH v5 0/4] Avoid that __scsi_remove_device() hangs

2017-04-26 Thread Bart Van Assche
On Tue, 2017-04-25 at 13:53 -0700, Bart Van Assche wrote: > __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. > [

[PATCH v5 0/4] Avoid that __scsi_remove_device() hangs

2017-04-25 Thread Bart Van Assche
__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. Changes compared to v4: - Fixed the deadlock reported by the 0-day bo