[patch] blk-mq: suppress a warning

2015-01-06 Thread Jeff Moyer
Jens, Is there any reason the following patch from Shaohua didn't go in? We are hitting this WARN_ON during hotplug testing, and this patch fixes the problem. The previous posting is located here: http://linux-kernel.2935.n7.nabble.com/patch-blk-mq-suppress-a-warning-td895340.html C

Re: [patch]blk-mq: suppress a warning

2014-07-04 Thread Jens Axboe
On 07/04/2014 05:26 AM, Shaohua Li wrote: > > The warning is hit when cpu hotplug is running. After scheduler puts a cpu > online and before blk-mq mapping reinit, a task can queue a request and run > the > queue. At that time the cpu isn't in hctx->cpumask, but the cpu is mapped into > hctx 0. W

[patch]blk-mq: suppress a warning

2014-07-04 Thread Shaohua Li
The warning is hit when cpu hotplug is running. After scheduler puts a cpu online and before blk-mq mapping reinit, a task can queue a request and run the queue. At that time the cpu isn't in hctx->cpumask, but the cpu is mapped into hctx 0. When the race happens, hctx->cpumask doesn't set the cpu