]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: Permit pages without an iop to enter writeback
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 15 Jul 2021 16:58:05 +0000 (09:58 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 15 Jul 2021 16:58:05 +0000 (09:58 -0700)
commitf6616a4b26d7581ff76d2c4d306d4eaf8f3e174d
tree83c3ee2f8d5ecaaed909a35a2adff451d7adf5bc
parent90c267eb44bef667603d3f73c99cc78e2258e9df
iomap: Permit pages without an iop to enter writeback

Create an iop in the writeback path if one doesn't exist.  This allows us
to avoid creating the iop in some cases.  We'll initially do that for 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).

Co-developed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c