Skip to contentSkip to conversation

f2fs: support iopoll method

PATCH Applied Wu Bo 3 participants 3 messages Apr 13, 2023 F2FS file system

lore
Share & tools
lore

Wu Bo

author
#0 lore raw

PATCH 1/1 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")

---
 fs/f2fs/file.c | 1 +
 1 file changed, 1 insertion(+)
fs/f2fs/file.c +1 -0
index 15dabeac4690..ced796ef615b 100644
@@ -4879,6 +4879,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,
Signature · 8 lines
2.35.3



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#2 lore raw
In reply to Wu Bo
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

Quoted 8 lines · On Thu, 13 Apr 2023 18:17:11 +0800 you wrote:

Wire up the iopoll method to the common implementation. As f2fs use common dio infrastructure:
commit a1e09b03e6f5 ("f2fs: use iomap for direct I/O")

---
 fs/f2fs/file.c | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- [f2fs-dev,1/1] f2fs: support iopoll method

    https://git.kernel.org/jaegeuk/f2fs/c/50aa6f44e1da

You are awesome, thank you!

Signature · 10 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel