public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] f2fs: support iopoll method
@ 2023-04-13 10:17 Wu Bo
  2023-04-13 15:29 ` Chao Yu
  2023-04-13 23:40 ` [f2fs-dev] " patchwork-bot+f2fs
  0 siblings, 2 replies; 3+ messages in thread
From: Wu Bo @ 2023-04-13 10:17 UTC (permalink / raw)
  To: Jaegeuk Kim, Chao Yu; +Cc: linux-f2fs-devel, linux-kernel, wubo.oduw, Wu Bo

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>
---
 fs/f2fs/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 15dabeac4690..ced796ef615b 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -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,
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] f2fs: support iopoll method
  2023-04-13 10:17 [PATCH 1/1] f2fs: support iopoll method Wu Bo
@ 2023-04-13 15:29 ` Chao Yu
  2023-04-13 23:40 ` [f2fs-dev] " patchwork-bot+f2fs
  1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2023-04-13 15:29 UTC (permalink / raw)
  To: Wu Bo, Jaegeuk Kim; +Cc: linux-f2fs-devel, linux-kernel, wubo.oduw

On 2023/4/13 18:17, Wu Bo 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")
> 
> Signed-off-by: Wu Bo <bo.wu@vivo.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] [PATCH 1/1] f2fs: support iopoll method
  2023-04-13 10:17 [PATCH 1/1] f2fs: support iopoll method Wu Bo
  2023-04-13 15:29 ` Chao Yu
@ 2023-04-13 23:40 ` patchwork-bot+f2fs
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+f2fs @ 2023-04-13 23:40 UTC (permalink / raw)
  To: Wu Bo; +Cc: jaegeuk, chao, wubo.oduw, linux-kernel, linux-f2fs-devel

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

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")
> 
> Signed-off-by: Wu Bo <bo.wu@vivo.com>
> ---
>  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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-13 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13 10:17 [PATCH 1/1] f2fs: support iopoll method Wu Bo
2023-04-13 15:29 ` Chao Yu
2023-04-13 23:40 ` [f2fs-dev] " patchwork-bot+f2fs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox