[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-02-25 Thread Jun'ichi Nomura
Hello Jens, please consider to pick up this patch. Without this patch, the warning below splats every when a multipath device is created. I got acks from Vivek and Tejun when I posted this for v3.7 and this same patch is still applicable to v3.8. Since 749fefe677 in v3.7 ("block: lift the

[PATCH repost] blkcg: fix scheduling while atomic in blk_queue_bypass_start

2013-02-25 Thread Jun'ichi Nomura
Hello Jens, please consider to pick up this patch. Without this patch, the warning below splats every when a multipath device is created. I got acks from Vivek and Tejun when I posted this for v3.7 and this same patch is still applicable to v3.8. Since 749fefe677 in v3.7 (block: lift the

Re: [PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-01-09 Thread Tejun Heo
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: > With 749fefe677 in v3.7 ("block: lift the initial queue bypass mode > on blk_register_queue() instead of blk_init_allocated_queue()"), > the following warning appears when multipath is used with CONFIG_PREEMPT=y. > > This patch

Re: [PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-01-09 Thread Vivek Goyal
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: > With 749fefe677 in v3.7 ("block: lift the initial queue bypass mode > on blk_register_queue() instead of blk_init_allocated_queue()"), > the following warning appears when multipath is used with CONFIG_PREEMPT=y. > > This patch

Re: [PATCH repost] blkcg: fix scheduling while atomic in blk_queue_bypass_start

2013-01-09 Thread Vivek Goyal
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: With 749fefe677 in v3.7 (block: lift the initial queue bypass mode on blk_register_queue() instead of blk_init_allocated_queue()), the following warning appears when multipath is used with CONFIG_PREEMPT=y. This patch moves

Re: [PATCH repost] blkcg: fix scheduling while atomic in blk_queue_bypass_start

2013-01-09 Thread Tejun Heo
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: With 749fefe677 in v3.7 (block: lift the initial queue bypass mode on blk_register_queue() instead of blk_init_allocated_queue()), the following warning appears when multipath is used with CONFIG_PREEMPT=y. This patch moves

[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-01-07 Thread Jun'ichi Nomura
With 749fefe677 in v3.7 ("block: lift the initial queue bypass mode on blk_register_queue() instead of blk_init_allocated_queue()"), the following warning appears when multipath is used with CONFIG_PREEMPT=y. This patch moves blk_queue_bypass_start() before radix_tree_preload() to avoid the

[PATCH repost] blkcg: fix scheduling while atomic in blk_queue_bypass_start

2013-01-07 Thread Jun'ichi Nomura
With 749fefe677 in v3.7 (block: lift the initial queue bypass mode on blk_register_queue() instead of blk_init_allocated_queue()), the following warning appears when multipath is used with CONFIG_PREEMPT=y. This patch moves blk_queue_bypass_start() before radix_tree_preload() to avoid the