Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-19 Thread Matthew Wilcox
On Fri, Mar 19, 2021 at 05:28:59AM +, Dmitry Monakhov wrote: > Otherwise we may endup blocking on pipe or socket. > > Fixes: 6d5d5ac ("io_uring: extend async work merge") 7 bytes of sha1 isn't enough. You can set core.abbrev to 12 or upgrade to a version of git from this decade to get that a

Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-19 Thread Pavel Begunkov
On 19/03/2021 05:28, Dmitry Monakhov wrote: > Otherwise we may endup blocking on pipe or socket. CC: io-uring ml > > Fixes: 6d5d5ac ("io_uring: extend async work merge") > Testcase: > https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 > Signed-off-by: Dmitry M

Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-19 Thread Dmitry Monakhov
- stable@ 19.03.2021, 08:29, "Dmitry Monakhov" : > Otherwise we may endup blocking on pipe or socket. > > Fixes: 6d5d5ac ("io_uring: extend async work merge") > Testcase: > https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 > Signed-off-by: Dmitry Monakhov >

Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-18 Thread Greg KH
On Fri, Mar 19, 2021 at 05:28:59AM +, Dmitry Monakhov wrote: > Otherwise we may endup blocking on pipe or socket. > > Fixes: 6d5d5ac ("io_uring: extend async work merge") > Testcase: > https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 > Signed-off-by: Dmitr

[PATCH] io_uring: Try to merge io requests only for regular files

2021-03-18 Thread Dmitry Monakhov
Otherwise we may endup blocking on pipe or socket. Fixes: 6d5d5ac ("io_uring: extend async work merge") Testcase: https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 Signed-off-by: Dmitry Monakhov --- fs/io_uring.c | 3 +++ 1 file changed, 3 insertions(+) diff