[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers
- From: Vivek Goyal <vgoyal redhat com>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: Jens Axboe <axboe kernel dk>, Kent Overstreet <koverstreet google com>, dm-devel redhat com, linux-kernel vger kernel org, linux-bcache vger kernel org, bharrosh panasas com, tj kernel org
- Subject: Re: [dm-devel] [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers
- Date: Tue, 4 Sep 2012 15:39:49 -0400
On Tue, Sep 04, 2012 at 03:26:19PM -0400, Mikulas Patocka wrote:
[..]
> BTW. can these new-style timerless plugs introduce deadlocks too? What
> happens when some bios are indefinitely delayed because their requests are
> held in a plug and a mempool runs out?
I think they will not deadlock because these on stack bios/requests are
flushed/dispatched when process schedules out. So if a submitter blocks
on a mempool, it will be scheduled out and requests on plug will be
dispatched.
Thanks
Vivek
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]