Re: [PATCH 1/1] [RFC] blk-mq: fix queue stalling on shared hctx restart

From: Bart Van Assche
Date: Tue Nov 07 2017 - 10:54:44 EST


On Wed, 2017-10-18 at 12:22 +0200, Roman Pen wrote:
> the patch below fixes queue stalling when shared hctx marked for restart
> (BLK_MQ_S_SCHED_RESTART bit) but q->shared_hctx_restart stays zero.

Since I have been able to reproduce this queue stall with an upstream driver
(ib_srp) and since I also have been able to verify that this patch fixes that
stall:

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>
Tested-by: Bart Van Assche <bart.vanassche@xxxxxxx>