Commit cc95425
iomap: move all remaining per-folio logic into iomap_writepage_map
Move the tracepoint and the iomap check from iomap_do_writepage into
iomap_writepage_map. This keeps all logic in one places, and leaves
iomap_do_writepage just as the wrapper for the callback conventions of
write_cache_pages, which will go away when that is converted to an
iterator.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231207072710.176093-7-hch@lst.de
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent e3a491a commit cc95425
1 file changed
Lines changed: 11 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
| 1835 | + | |
| 1836 | + | |
1839 | 1837 | | |
1840 | 1838 | | |
| 1839 | + | |
1841 | 1840 | | |
1842 | 1841 | | |
1843 | 1842 | | |
1844 | 1843 | | |
| 1844 | + | |
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1848 | 1854 | | |
1849 | 1855 | | |
1850 | 1856 | | |
| |||
1944 | 1950 | | |
1945 | 1951 | | |
1946 | 1952 | | |
1947 | | - | |
1948 | | - | |
1949 | | - | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
1953 | | - | |
1954 | 1953 | | |
1955 | 1954 | | |
1956 | 1955 | | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
1965 | | - | |
1966 | | - | |
1967 | | - | |
1968 | | - | |
| 1956 | + | |
1969 | 1957 | | |
1970 | 1958 | | |
1971 | 1959 | | |
| |||
0 commit comments