summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorWu Bo <bo.wu@vivo.com>2023-04-13 13:17:11 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-04-14 02:38:18 +0300
commit50aa6f44e1daa79e5fa82abf46170fcac976531a (patch)
treeed0a5f6e30f1722797965c6600ffa67c0bfc06b4 /fs/f2fs
parentabae448626a26e123e5d8311ac5932cccfc1cdf6 (diff)
downloadlinux-50aa6f44e1daa79e5fa82abf46170fcac976531a.tar.xz
f2fs: support iopoll method
Wire up the iopoll method to the common implementation. As f2fs use common dio infrastructure: commit a1e09b03e6f5 ("f2fs: use iomap for direct I/O") Signed-off-by: Wu Bo <bo.wu@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 48a563cc0f34..1b4411271f54 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -4908,6 +4908,7 @@ const struct file_operations f2fs_file_operations = {
.llseek = f2fs_llseek,
.read_iter = f2fs_file_read_iter,
.write_iter = f2fs_file_write_iter,
+ .iopoll = iocb_bio_iopoll,
.open = f2fs_file_open,
.release = f2fs_release_file,
.mmap = f2fs_file_mmap,