]> www.infradead.org Git - users/willy/linux.git/commit
iomap: Convert iomap_page_mkwrite to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 29 Apr 2021 02:32:02 +0000 (22:32 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 16 Dec 2021 20:49:52 +0000 (15:49 -0500)
commitea0f843aa7942f169ff45d8c68aa81c1645772a6
tree8b619130e00e861e78949e35be12bb5630a9a5d9
parent3aa9c659bf821f112ed765d822f67340a92b8b82
iomap: Convert iomap_page_mkwrite to use a folio

If we write to any page in a folio, we have to mark the entire
folio as dirty, and potentially COW the entire folio, because it'll
all get written back as one unit.

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