]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: punt splice async because of inode mutex
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 1 May 2020 14:09:38 +0000 (17:09 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 May 2020 14:50:57 +0000 (08:50 -0600)
commit583e36a5b97c307e00029a7a4d7473ceeb1dec0d
treef373b9b6706caa213245c7131d286f34e6000361
parent06512f2c7d956568bc4c458c38bbfe2bbc680e81
io_uring: punt splice async because of inode mutex

Nonblocking do_splice() still may wait for some time on an inode mutex.
Let's play safe and always punt it async.

Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c