All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: start to support iopoll method
@ 2020-02-07 12:07 Xiaoguang Wang
  2020-02-10 10:24 ` Jan Kara
  2020-03-02  9:17 ` Xiaoguang Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Xiaoguang Wang @ 2020-02-07 12:07 UTC (permalink / raw
  To: linux-ext4; +Cc: tytso, jack, Xiaoguang Wang

Since commit "b1b4705d54ab ext4: introduce direct I/O read using
iomap infrastructure", we can easily make ext4 support iopoll
method, just use iomap_dio_iopoll().

Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
---
 fs/ext4/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 5f225881176b..0d624250a62b 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -872,6 +872,7 @@ const struct file_operations ext4_file_operations = {
 	.llseek		= ext4_llseek,
 	.read_iter	= ext4_file_read_iter,
 	.write_iter	= ext4_file_write_iter,
+	.iopoll		= iomap_dio_iopoll,
 	.unlocked_ioctl = ext4_ioctl,
 #ifdef CONFIG_COMPAT
 	.compat_ioctl	= ext4_compat_ioctl,
-- 
2.17.2


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

end of thread, other threads:[~2020-03-05 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 12:07 [PATCH] ext4: start to support iopoll method Xiaoguang Wang
2020-02-10 10:24 ` Jan Kara
2020-03-02  9:17 ` Xiaoguang Wang
2020-03-02 19:16   ` Theodore Y. Ts'o
2020-03-04 13:40     ` Xiaoguang Wang
2020-03-05 20:40       ` Theodore Y. Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.