]> git.baikalelectronics.ru Git - kernel.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)
commit003135ac5224b0053619d818e70b3cb3e0e1c96b
tree8b619130e00e861e78949e35be12bb5630a9a5d9
parenta561ea4a1068892e12abd60b146297c73c6bc149
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