commit | 91f9943e1c7b6638f27312d03fe71fcc67b23571 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Aug 29 16:13:20 2017 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Sep 04 19:04:23 2017 -0400 |
tree | bf9c2212d93f4fbf9af6f5fafc2e667fa3d29de1 | |
parent | 3239d834847627b6634a4139cf1dc58f6f137a46 [diff] |
fs: support RWF_NOWAIT for buffered reads This is based on the old idea and code from Milosz Tanski. With the aio nowait code it becomes mostly trivial now. Buffered writes continue to return -EOPNOTSUPP if RWF_NOWAIT is passed. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>