diff options
author | Hyunchul Lee <cheol.lee@lge.com> | 2018-03-08 19:34:38 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-17 13:57:32 +0900 |
commit | b91050a80cec3daf5a21f78274330df64a4936a3 (patch) | |
tree | 0195cd219ab9a4f33027b694b64bbfaa970e0e0a /fs/f2fs/dir.c | |
parent | 63189b785960c3346d1af347516b7438f7ada8ec (diff) | |
download | talos-obmc-linux-b91050a80cec3daf5a21f78274330df64a4936a3.tar.gz talos-obmc-linux-b91050a80cec3daf5a21f78274330df64a4936a3.zip |
f2fs: add nowait aio support
This patch adds nowait aio support[1].
Return EAGAIN if any of the following checks fail for direct I/O:
- i_rwsem is not lockable
- Blocks are not allocated at the write location
And xfstests generic/471 is passed.
[1]: 6be96d "Introduce RWF_NOWAIT and FMODE_AIO_NOWAIT"
Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
0 files changed, 0 insertions, 0 deletions