Thread (24 messages) 24 messages, 8 authors, 2021-05-26

Re: [PATCH v3 1/3] iomap: resched ioend completion when in non-atomic context

From: Ming Lei <hidden>
Date: 2021-05-22 07:45:28
Also in: linux-fsdevel

On Mon, May 17, 2021 at 01:17:20PM -0400, Brian Foster wrote:
The iomap ioend mechanism has the ability to construct very large,
contiguous bios and/or bio chains. This has been reported to lead to
BTW, it is actually wrong to complete a large bio chains in
iomap_finish_ioend(), which may risk in bio allocation deadlock, cause
bio_alloc_bioset() relies on bio submission to make forward progress. But
it becomes not true when all chained bios are freed just after the whole
ioend is done since all chained bios(except for the one embedded in ioend)
are allocated from same bioset(fs_bio_set).


Thanks,
Ming
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help