Re: iomap: writeback ioend/bio allocation deadlock risk

From
Ming Lei <hidden>
Date
2021-05-21 08:55:02
Also in
linux-fsdevel
Reply to
Christoph Hellwig, 2021-05-21
On Fri, May 21, 2021 at 10:36:35AM +0200, Christoph Hellwig wrote:
On Fri, May 21, 2021 at 04:35:03PM +0800, Ming Lei wrote:
quoted
Just wondering why the ioend isn't submitted out after it becomes full?
block layer plugging?  Although failing bio allocations will kick that,
so that is not a deadlock risk.
These ioends are just added to one list stored on local stack variable(submit_list),
how can block layer plugging observe & submit them out?

Chained bios have been submitted already, but all can't be completed/freed
until the whole ioend is done, that submission won't make forward progress.


Thanks,
Ming
Thread (12 messages) 12 messages, 3 authors, last reply 2021-05-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help