projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2eeca0
)
ext4: start to support iopoll method
author
Xiaoguang Wang
<xiaoguang.wang@linux.alibaba.com>
Fri, 7 Feb 2020 12:07:58 +0000
(20:07 +0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 5 Mar 2020 20:40:15 +0000
(15:40 -0500)
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().
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Link:
https://lore.kernel.org/r/20200207120758.2411-1-xiaoguang.wang@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/file.c
patch
|
blob
|
history
diff --git
a/fs/ext4/file.c
b/fs/ext4/file.c
index 5f225881176b93a3d50e3accc2ccaa07e46f605a..0d624250a62bfdfaef0cf0710ef22f139e65d076 100644
(file)
--- 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,