block-mq: set both block queue and hardware queue restart bit for restart
PATCH 1/1 block-mq: set both block queue and hardware queue restart bit for restart
From: Long Li <[email protected]>
Under heavy I/O, one hardware queue may be unable to dispatch any I/O to the device layer. This poses a problem with restarting this hardware queue on I/O finish in blk_mq_sched_restart_queues(), becaue there is nothing pending that will finish in future on this hardware qeueu. This will result in deadlock.
With this patch, we check for all possible stalled hardware queues when I/O finishes on any hardware queues. This prevents this deadlock.
--- block/blk-mq-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-mq-sched.c +1 -1
@@ -202,7 +202,7 @@ void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx)* needing a restart in that case. */ if (!list_empty (&rq_list)) { -blk_mq_sched_mark_restart_hctx (hctx); +blk_mq_sched_mark_restart_queue (hctx); did_work =blk_mq_dispatch_rq_list (hctx, &rq_list); }else if (!has_sched_dispatch) {blk_mq_flush_busy_ctxs (hctx, &rq_list);
Signature · 1 line
2.7.4
Quoted 1 line · Long Li
Under heavy I/O, one hardware queue may be unable to dispatch any I/O to =
the=20
Quoted 1 line
device layer. This poses a problem with restarting this hardware queue on=
I/O
Quoted 1 line
finish in
blk_mq_sched_restart_queues(), becaue there is nothing pending =
that
Quoted 1 line
will finish in future on this hardware qeueu. This will result in deadloc=
k.
Quoted 2 lines
=20
With this patch, we check for all possible stalled hardware queues when I=
/O
block/blk-mq-sched.c void blk_mq_sched_dispatch_requests(struct blk_mq_hw_=
Quoted 12 lines
finishes on any hardware queues. This prevents this deadlock. =20
Signed-off-by Long Li <[email protected]>--- block/blk-mq-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)=20
block/blk-mq-sched.c +0
-0@@ -202,7 +202,7 @@ void blk_mq_sched_dispatch_requests(struct blk_mq_hw_=
ctx *hctx)
block/blk-mq-sched.c void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx) · line 208
Quoted 8 lines
block/blk-mq-sched.c +1
-1* needing a restart in that case. */ if (!list_empty (&rq_list)) { -blk_mq_sched_mark_restart_hctx (hctx); +blk_mq_sched_mark_restart_queue (hctx); did_work =3D blk_mq_dispatch_rq_list(hctx, &rq_list); }else if (!has_sched_dispatch) {blk_mq_flush_busy_ctxs (hctx, &rq_list);
Please drop this patch. I'm working on a better solution.
Thanks,
Bart.=
Quoted 17 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Wednesday, April 5, 2017 5:32 PM
To: [email protected]; [email protected]; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>; KY Srinivasan <[email protected]>; Long Li <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart
=20Quoted 4 lines · Long Li
Under heavy I/O, one hardware queue may be unable to dispatch any I/O to the device layer. This poses a problem with restarting this hardware queue on I/O finish in
blk_mq_sched_restart_queues(), becaue there is nothing pending that will finish in future on this hardware qe=
ueu.
Quoted 16 lines
This will result in deadlock.
block/blk-mq-sched.c void blk_mq_sched_dispatch_requests(struct
Quoted 14 lines
With this patch, we check for all possible stalled hardware queues when I/O finishes on any hardware queues. This prevents this deadlock.
Signed-off-by Long Li <[email protected]>--- block/blk-mq-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)block/blk-mq-sched.c index renamed from block/blk-mq-sched.c +0
-009af8ff..f7f3d44 100644
block/blk-mq-sched.c +0
-0@@ -202,7 +202,7 @@ void blk_mq_sched_dispatch_requests(struct
blk_mq_hw_ctx*hctx)
Quoted 10 lines
block/blk-mq-sched.c void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx) · line 208
Quoted 8 lines
block/blk-mq-sched.c +1
-1* needing a restart in that case. */ if (!list_empty (&rq_list)) { -blk_mq_sched_mark_restart_hctx (hctx); +blk_mq_sched_mark_restart_queue (hctx); did_work =3D blk_mq_dispatch_rq_list(hctx, &rq_list); }else if (!has_sched_dispatch) {blk_mq_flush_busy_ctxs (hctx, &rq_list);=20
Please drop this patch. I'm working on a better solution.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biBzY2hlZHVsZXIgbm9uZS4gQWxzbyB0cmllZCBvbiBtcS1kZWFk bGluZSwgc2FtZSBodW5nIHdpdGggdGhlIHNhbWUgY2F1c2UuDQoNCj4gDQo+IEsuIFkNCj4gPg0K PiA+IFRoYW5rcywNCj4gPg0KPiA+IEJhcnQuDQo=
Quoted 15 lines · KY Srinivasan
Quoted 15 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Wednesday, April 5, 2017 8:46 PM
To: [email protected]; [email protected]; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>; KY Srinivasan <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart
=20Quoted 4 lines · Long Li
Quoted 4 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]] =20
Please drop this patch. I'm working on a better solution.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
=20
Thank you. Looking forward to your patch.=20
Hello Long,
=20
It would help if you could share the name of the block or SCSI driver w=
ith
Quoted 1 line
Quoted 1 line
which you ran into that lockup and also if you could share the name of =
the
Quoted 3 lines
Quoted 1 line
I/O scheduler used in your test.
=20
The tests that indicated the issue were run Hyper-V. The driver is storvs=
c_drv.c
Quoted 1 line
The I/O scheduler was I think noop.
Hello Long and K.Y.,
Thank you for the feedback. Can you repeat your test with kernel v4.11-rc6?=
The
patches that went into the block layer for v4.11-rc6 should be sufficient t=
o fix
this:
$ PAGER=3D git log --format=3Dshort v4.11-rc5..v4.11-rc6 block include/linu= x/blk* =A0 commit 6d8c6c0f97ad8a3517c42b179c1dc8e77397d0e2 Author: Bart Van Assche <[email protected]>
=A0=A0=A0=A0blk-mq: Restart a single queue if tag sets are shared
commit 7587a5ae7eef0439f7be31f1b5959af062bbc5ec
Author: Bart Van Assche <[email protected]>
=A0=A0=A0=A0blk-mq: Introduce blk_mq_delay_run_hw_queue()
commit ebe8bddb6e30d7a02775b9972099271fc5910f37
Author: Omar Sandoval <[email protected]>
=A0=A0=A0=A0blk-mq: remap queues when adding/removing hardware queues
commit 54d5329d425650fafaf90660a139c771d2d49cae
Author: Omar Sandoval <[email protected]>
=A0=A0=A0=A0blk-mq-sched: fix crash in switch error path
commit 93252632e828da3e90241a1c0e766556abf71598
Author: Omar Sandoval <[email protected]>
=A0=A0=A0=A0blk-mq-sched: set up scheduler tags when bringing up new queues
commit 6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6
Author: Omar Sandoval <[email protected]>
=A0=A0=A0=A0blk-mq-sched: refactor scheduler initialization
commit 81380ca10778b99dce98940cfc993214712df335
Author: Omar Sandoval <[email protected]>
=A0=A0=A0=A0blk-mq: use the right hctx when getting a driver tag fails
commit ac77a0c463c1d7d659861f7b6d1261970dd3282a
Author: Minchan Kim <[email protected]>
=A0=A0=A0=A0block: do not put mq context in blk_mq_alloc_request_hctx
Bart.=
Quoted 6 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Monday, April 10, 2017 4:48 PM
To: [email protected]; [email protected]; KY Sriniva=
san
Quoted 30 lines
<[email protected]>; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart
=20Quoted 24 lines · KY Srinivasan
Quoted 23 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Wednesday, April 5, 2017 8:46 PM
To: [email protected]; [email protected]; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>; KY Srinivasan <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restartQuoted 6 lines · Long Li
Quoted 4 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]Please drop this patch. I'm working on a better solution.
Thank you. Looking forward to your patch.
Hello Long,
It would help if you could share the name of the block or SCSI driver with which you ran into that lockup and also if you could share the name of the I/O scheduler used in your test.
Quoted 6 lines
Quoted 2 lines
The tests that indicated the issue were run Hyper-V. The driver is
storvsc_drv.cThe I/O scheduler was I think noop.=20
Hello Long and K.Y.,
=20
Thank you for the feedback. Can you repeat your test with kernel v4.11-rc=
6?
Quoted 1 line
The patches that went into the block layer for v4.11-rc6 should be suffic=
ient
Quoted 4 lines
to fix
this:
=20$ PAGER=3D git log --format=3Dshort v4.11-rc5..v4.11-rc6 block include/li=
nux/blk*
Quoted 16 lines
commit
6d8c6c0f97ad8a3517c42b179c1dc8e77397d0e2
Author: Bart Van Assche <[email protected]>
=20
=A0=A0=A0=A0blk-mq: Restart a single queue if tag sets are shared =20
commit7587a5ae7eef0439f7be31f1b5959af062bbc5ec
Author: Bart Van Assche <[email protected]>
=20
=A0=A0=A0=A0blk-mq: Introduceblk_mq_delay_run_hw_queue()=20
commitebe8bddb6e30d7a02775b9972099271fc5910f37
Author: Omar Sandoval <[email protected]>
=20
=A0=A0=A0=A0blk-mq: remap queues when adding/removing hardware queues =20
commit54d5329d425650fafaf90660a139c771d2d49cae
Quoted 8 lines
Author: Omar Sandoval <[email protected]>
=20
=A0=A0=A0=A0blk-mq-sched: fix crash in switch error path
=20
commit93252632e828da3e90241a1c0e766556abf71598
Author: Omar Sandoval <[email protected]>
=20
=A0=A0=A0=A0blk-mq-sched: set up scheduler tags when bringing up new queu=
es
Quoted 9 lines
=20
commit6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6
Author: Omar Sandoval <[email protected]>
=20
=A0=A0=A0=A0blk-mq-sched: refactor scheduler initialization =20
commit81380ca10778b99dce98940cfc993214712df335
Author: Omar Sandoval <[email protected]>
=20
Quoted 8 lines
=A0=A0=A0=A0blk-mq: use the right hctx when getting a driver tag fails =20
commitac77a0c463c1d7d659861f7b6d1261970dd3282a
Author: Minchan Kim <[email protected]>
=20
=A0=A0=A0=A0block: do not put mq context inblk_mq_alloc_request_hctx=20
Bart.
Thank you. We are doing tests. I will update on the results.
Long
Quoted 56 lines
-----Original Message-----
From: [email protected] [mailto:linux-block- [email protected]] On Behalf Of Long Li
Sent: Friday, April 14, 2017 1:12 AM
To: Bart Van Assche <[email protected]>; linux- [email protected]; [email protected]; KY Srinivasan <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: RE: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart
=20
=20
=20Quoted 41 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Monday, April 10, 2017 4:48 PM
To: [email protected]; [email protected]; KY Srinivasan <[email protected]>; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restartQuoted 18 lines · KY Srinivasan
Quoted 18 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Wednesday, April 5, 2017 8:46 PM
To: [email protected]; [email protected]; Long Li <[email protected]>; [email protected]
Cc: Stephen Hemminger <[email protected]>; KY Srinivasan <[email protected]>
Subject: Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restartQuoted 6 lines · Long Li
Quoted 4 lines
-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]Please drop this patch. I'm working on a better solution.
Thank you. Looking forward to your patch.
Quoted 8 lines
Quoted 5 lines
Hello Long,
It would help if you could share the name of the block or SCSI driver with which you ran into that lockup and also if you could share the name of the I/O scheduler used in your test.
The tests that indicated the issue were run Hyper-V. The driver is
storvsc_drv.cThe I/O scheduler was I think noop.Hello Long and K.Y.,
Thank you for the feedback. Can you repeat your test with kernel v4.11-=
rc6?
Quoted 23 lines
Quoted 23 lines
The patches that went into the block layer for v4.11-rc6 should be sufficient to fix
this:$ PAGER=3D git log --format=3Dshort v4.11-rc5..v4.11-rc6 block include/linux/blk* commit 6d8c6c0f97ad8a3517c42b179c1dc8e77397d0e2 Author: Bart Van Assche <[email protected]>=A0=A0=A0=A0blk-mq: Restart a single queue if tag sets are shared
commit
7587a5ae7eef0439f7be31f1b5959af062bbc5ec
Author: Bart Van Assche <[email protected]>=A0=A0=A0=A0blk-mq: Introduce
blk_mq_delay_run_hw_queue()commit
ebe8bddb6e30d7a02775b9972099271fc5910f37
Author: Omar Sandoval <[email protected]>=A0=A0=A0=A0blk-mq: remap queues when adding/removing hardware queues
commit
54d5329d425650fafaf90660a139c771d2d49cae
Author: Omar Sandoval <[email protected]>
Quoted 6 lines
Quoted 6 lines
=A0=A0=A0=A0blk-mq-sched: fix crash in switch error path
commit
93252632e828da3e90241a1c0e766556abf71598
Author: Omar Sandoval <[email protected]>=A0=A0=A0=A0blk-mq-sched: set up scheduler tags when bringing up new qu=
eues
Quoted 14 lines
Quoted 14 lines
commit
6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6
Author: Omar Sandoval <[email protected]>=A0=A0=A0=A0blk-mq-sched: refactor scheduler initialization
commit
81380ca10778b99dce98940cfc993214712df335
Author: Omar Sandoval <[email protected]>=A0=A0=A0=A0blk-mq: use the right hctx when getting a driver tag fails
commit
ac77a0c463c1d7d659861f7b6d1261970dd3282a
Author: Minchan Kim <[email protected]>
Quoted 7 lines
Quoted 3 lines
=A0=A0=A0=A0block: do not put mq context in
blk_mq_alloc_request_hctxBart.
=20
Thank you. We are doing tests. I will update on the results. =20
Long
Testing went well. There were no I/O hangs.
Quoted 7 lines · Long Li
Quoted 5 lines
Quoted 5 lines
From: Bart Van Assche [mailto:[email protected]] =20
Can you repeat your test with kernel v4.11-rc6?
The patches that went into the block layer for v4.11-rc6 should be sufficient to fix this: [ ... ]=20
Testing went well. There were no I/O hangs.
Hello Long,
Thanks for having run these tests and thanks for the feedback!
Bart.=