diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-01-13 18:48:49 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-18 08:06:08 +0300 |
commit | 60d8231089f0d955e0cce033421df4b19e9adfb0 (patch) | |
tree | ae8e63f84804c2b91bdf05711019598d9e3799af /arch/x86/realmode/init.c | |
parent | 589110e897ff9cf7c3500c5fce1c688d1ffca6f4 (diff) | |
download | linux-60d8231089f0d955e0cce033421df4b19e9adfb0.tar.xz |
iomap: Support large folios in invalidatepage
If we're punching a hole in a large folio, we need to remove the
per-folio iomap data as the folio is about to be split and each page will
need its own. If a dirty folio is only partially-uptodate, the iomap
data contains the information about which blocks cannot be written back,
so assert that a dirty folio is fully uptodate.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'arch/x86/realmode/init.c')
0 files changed, 0 insertions, 0 deletions