Re: [PATCH 1/1] [RFC] blk-mq: fix queue stalling on shared hctx restart
From: Bart Van Assche
Date: Fri Oct 20 2017 - 16:05:37 EST
On Fri, 2017-10-20 at 11:39 +0200, Roman Penyaev wrote:
> But what bothers me is these looong loops inside blk_mq_sched_restart(),
> and since you are the author of the original 6d8c6c0f97ad ("blk-mq: Restart
> a single queue if tag sets are shared") I want to ask what was the original
> problem which you attempted to fix? Likely I am missing some test scenario
> which would be great to know about.
Long loops? How many queues share the same tag set on your setup? How many
hardware queues does your block driver create per request queue?
Commit 6d8c6c0f97ad is something I came up with to fix queue lockups in the
SCSI and dm-mq drivers.
Bart.