Re: [PATCH 7/7] nonblocking aio: btrfs

2017-02-14 Thread Nikolay Borisov
On 14.02.2017 04:46, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > Return EAGAIN if any of the following checks fail > + i_rwsem is lockable > + NODATACOW or PREALLOC is set perhaps you wanted to say "NODATACOW or PREALLOC is _not_ set"? See below > + Can

[PATCH 7/7] nonblocking aio: btrfs

2017-02-13 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues Return EAGAIN if any of the following checks fail + i_rwsem is lockable + NODATACOW or PREALLOC is set + Can nocow at the desired location + Writing beyond end of file Signed-off-by: Goldwyn Rodrigues --- fs/btrfs/file.c | 25