diff options
| author | Christoph Hellwig <[email protected]> | 2025-07-10 13:33:29 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-07-14 08:51:31 +0000 |
| commit | f4fa7981fa26c664cc540cbce9bcb7ffe02a8912 (patch) | |
| tree | fe356824d657c45085900192b6ff3cd283bb951f /fs/zonefs/file.c | |
| parent | iomap: refactor the writeback interface (diff) | |
| download | kernel-f4fa7981fa26c664cc540cbce9bcb7ffe02a8912.tar.gz kernel-f4fa7981fa26c664cc540cbce9bcb7ffe02a8912.zip | |
iomap: hide ioends from the generic writeback code
Replace the ioend pointer in iomap_writeback_ctx with a void *wb_ctx
one to facilitate non-block, non-ioend writeback for use. Rename
the submit_ioend method to writeback_submit and make it mandatory so
that the generic writeback code stops seeing ioends and bios.
Co-developed-by: Joanne Koong <[email protected]>
Signed-off-by: Joanne Koong <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/[email protected]
Acked-by: Damien Le Moal <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/zonefs/file.c')
| -rw-r--r-- | fs/zonefs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/zonefs/file.c b/fs/zonefs/file.c index c88e2c851753..fee9403ad49b 100644 --- a/fs/zonefs/file.c +++ b/fs/zonefs/file.c @@ -151,6 +151,7 @@ static ssize_t zonefs_writeback_range(struct iomap_writepage_ctx *wpc, static const struct iomap_writeback_ops zonefs_writeback_ops = { .writeback_range = zonefs_writeback_range, + .writeback_submit = iomap_ioend_writeback_submit, }; static int zonefs_writepages(struct address_space *mapping, |
