Re: [Ocfs2-devel] [PATCH v4 3/3] ocfs2: nowait aio support

2018-01-18 Thread alex chen
Hi Gang, Looks good to me. On 2018/1/15 17:08, Gang He wrote: > Return -EAGAIN if any of the following checks fail for > direct I/O with nowait flag: > Can not get the related locks immediately, > Blocks are not allocated at the write location, it will trigger > block allocation, this will block

[PATCH v4 3/3] ocfs2: nowait aio support

2018-01-15 Thread Gang He
Return -EAGAIN if any of the following checks fail for direct I/O with nowait flag: Can not get the related locks immediately, Blocks are not allocated at the write location, it will trigger block allocation, this will block IO operations. Signed-off-by: Gang He --- fs/ocfs2/dir.c | 2