projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a304f07
)
xfs: flag files as supporting buffered async reads
author
Jens Axboe
<axboe@kernel.dk>
Fri, 22 May 2020 15:27:33 +0000
(09:27 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 22 Jun 2020 02:44:25 +0000
(20:44 -0600)
XFS uses generic_file_read_iter(), which already supports this.
Acked-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_file.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_file.c
b/fs/xfs/xfs_file.c
index 00db81eac80d6cf2ca42c0e5dc51d5b953adcf38..fdbff4860d61c6a1f31443c2d5e5a55cb806ea25 100644
(file)
--- a/
fs/xfs/xfs_file.c
+++ b/
fs/xfs/xfs_file.c
@@
-1080,7
+1080,7
@@
xfs_file_open(
return -EFBIG;
if (XFS_FORCED_SHUTDOWN(XFS_M(inode->i_sb)))
return -EIO;
- file->f_mode |= FMODE_NOWAIT;
+ file->f_mode |= FMODE_NOWAIT
| FMODE_BUF_RASYNC
;
return 0;
}