Commit ea0f843
Matthew Wilcox (Oracle)
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>1 parent 3aa9c65 commit ea0f843
1 file changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
971 | | - | |
| 970 | + | |
| 971 | + | |
972 | 972 | | |
973 | | - | |
974 | 973 | | |
975 | 974 | | |
976 | 975 | | |
| |||
979 | 978 | | |
980 | 979 | | |
981 | 980 | | |
982 | | - | |
| 981 | + | |
983 | 982 | | |
984 | | - | |
985 | | - | |
| 983 | + | |
| 984 | + | |
986 | 985 | | |
987 | 986 | | |
988 | 987 | | |
| |||
994 | 993 | | |
995 | 994 | | |
996 | 995 | | |
997 | | - | |
| 996 | + | |
998 | 997 | | |
999 | 998 | | |
1000 | | - | |
1001 | | - | |
| 999 | + | |
| 1000 | + | |
1002 | 1001 | | |
1003 | 1002 | | |
1004 | | - | |
| 1003 | + | |
1005 | 1004 | | |
1006 | 1005 | | |
1007 | | - | |
| 1006 | + | |
1008 | 1007 | | |
1009 | 1008 | | |
1010 | 1009 | | |
1011 | | - | |
| 1010 | + | |
1012 | 1011 | | |
1013 | 1012 | | |
1014 | | - | |
| 1013 | + | |
1015 | 1014 | | |
1016 | 1015 | | |
1017 | 1016 | | |
| |||
0 commit comments