summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-07-23 00:59:20 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2021-12-04 10:53:35 -0800
commit1517c1a7a4456f080fabc4ac9853930e4b880d14 (patch)
treef20a1b7eb01a9c59411d9770ed5cb05407eb41dc /fs/f2fs/f2fs.h
parentccf7cf92373d1a53166582013430b3b9c05a6ba2 (diff)
downloadlinux-stable-1517c1a7a4456f080fabc4ac9853930e4b880d14.tar.gz
linux-stable-1517c1a7a4456f080fabc4ac9853930e4b880d14.tar.bz2
linux-stable-1517c1a7a4456f080fabc4ac9853930e4b880d14.zip
f2fs: implement iomap operations
Implement 'struct iomap_ops' for f2fs, in preparation for making f2fs use iomap for direct I/O. Note that this may be used for other things besides direct I/O in the future; however, for now I've only tested it for direct I/O. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index d7435fcb9658..8242f47304a5 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -3655,6 +3655,7 @@ int f2fs_init_post_read_processing(void);
void f2fs_destroy_post_read_processing(void);
int f2fs_init_post_read_wq(struct f2fs_sb_info *sbi);
void f2fs_destroy_post_read_wq(struct f2fs_sb_info *sbi);
+extern const struct iomap_ops f2fs_iomap_ops;
/*
* gc.c