Thread (17 messages) 17 messages, 3 authors, 2021-07-05

Re: [PATCH 0/2] iomap: small block problems

From: Andreas Gruenbacher <agruenba@redhat.com>
Date: 2021-06-30 14:46:06
Also in: linux-fsdevel

On Wed, Jun 30, 2021 at 4:09 PM Matthew Wilcox [off-list ref] wrote:
On Tue, Jun 29, 2021 at 11:12:39AM +0200, Andreas Gruenbacher wrote:
quoted
Below is a version of your patch on top of v5.13 which has passed some
local testing here.

Thanks,
Andreas

--

iomap: Permit pages without an iop to enter writeback

Permit pages without an iop to enter writeback and create an iop *then*.  This
allows filesystems to mark pages dirty without having to worry about how the
iop block tracking is implemented.
How about ...

Create an iop in the writeback path if one doesn't exist.  This allows
us to avoid creating the iop in some cases.  The only current case we
do that for is pages with inline data, but it can be extended to pages
which are entirely within an extent.  It also allows for an iop to be
removed from pages in the future (eg page split).
quoted
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Co-developed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Sure, that works for me.

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