Re: [PATCH 1/1] blk-core: fix queue stuck on attempt to submit request from unplug

2015-09-28 Thread Roman Peniaev
On Mon, Sep 28, 2015 at 7:27 PM, Jens Axboe wrote: > On 09/27/2015 02:44 PM, Roman Pen wrote: >> >> In case of several stacked block devices, which both were inited by >> blk_init_queue call, you can catch the queue stuck, if first device >> in stack makes bio submit being in a flush of a plug lis

Re: [PATCH 1/1] blk-core: fix queue stuck on attempt to submit request from unplug

2015-09-28 Thread Jens Axboe
On 09/27/2015 02:44 PM, Roman Pen wrote: In case of several stacked block devices, which both were inited by blk_init_queue call, you can catch the queue stuck, if first device in stack makes bio submit being in a flush of a plug list. Let's consider this regular scenario taking readahead into a

[PATCH 1/1] blk-core: fix queue stuck on attempt to submit request from unplug

2015-09-27 Thread Roman Pen
In case of several stacked block devices, which both were inited by blk_init_queue call, you can catch the queue stuck, if first device in stack makes bio submit being in a flush of a plug list. Let's consider this regular scenario taking readahead into account (readahead.c:read_pages): 1. Start