[PATCH 3/4] fs: support RWF_NOWAIT for buffered reads

2017-08-29 Thread Christoph Hellwig
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 Reviewed-by: Jan Kara --- fs/aio.c

Re: [PATCH 3/4] fs: support RWF_NOWAIT for buffered reads

2017-08-24 Thread Jan Kara
On Tue 22-08-17 18:17:11, Christoph Hellwig wrote: > 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

[PATCH 3/4] fs: support RWF_NOWAIT for buffered reads

2017-08-22 Thread Christoph Hellwig
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 --- fs/aio.c | 6 -- fs/btrfs/file.c| 6

[PATCH 3/4] fs: support RWF_NOWAIT for buffered reads

2017-07-06 Thread Christoph Hellwig
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 --- fs/aio.c | 6 -- fs/btrfs/file.c| 9