Skip to content

Commit

Permalink
f2fs: support iopoll method
Browse files Browse the repository at this point in the history
Wire up the iopoll method to the common implementation.
As f2fs use common dio infrastructure:
commit a1e09b0 ("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>
  • Loading branch information
Wu Bo authored and Jaegeuk Kim committed Apr 13, 2023
1 parent abae448 commit 50aa6f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/f2fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 50aa6f4

Please sign in to comment.