Re: [PATCH] block: do not use interruptible wait anywhere

2018-04-12 Thread Bart Van Assche
On Thu, 2018-04-12 at 17:23 +0100, Alan Jenkins wrote: > @@ -947,14 +946,12 @@ int blk_queue_enter(struct request_queue *q, > blk_mq_req_flags_t flags) >*/ > smp_rmb(); > > - ret = wait_event_interruptible(q->mq_freeze_wq, > +

[PATCH] block: do not use interruptible wait anywhere

2018-04-12 Thread Alan Jenkins
When blk_queue_enter() waits for a queue to unfreeze, or unset the PREEMPT_ONLY flag, do not allow it to be interrupted by a signal. The PREEMPT_ONLY flag was introduced later in commit 3a0a529971ec ("block, scsi: Make SCSI quiesce and resume work reliably"). Note the SCSI device is resumed