OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8d53d
)
ext4: flag as supporting buffered async reads
author
Jens Axboe
<axboe@kernel.dk>
Mon, 3 Aug 2020 23:02:11 +0000
(17:02 -0600)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 18 Oct 2020 14:36:12 +0000
(10:36 -0400)
ext4 uses generic_file_read_iter(), which already supports this.
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link:
https://lore.kernel.org/r/fb90cc2d-b12c-738f-21a4-dd7a8ae0556a@kernel.dk
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
7d61069
..
02ffbd2
100644
(file)
--- a/
fs/ext4/file.c
+++ b/
fs/ext4/file.c
@@
-844,7
+844,7
@@
static int ext4_file_open(struct inode *inode, struct file *filp)
return ret;
}
- filp->f_mode |= FMODE_NOWAIT;
+ filp->f_mode |= FMODE_NOWAIT
| FMODE_BUF_RASYNC
;
return dquot_file_open(inode, filp);
}