diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-10-27 21:15:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-29 17:24:23 +0100 |
commit | 95a1b3ff9a3e4ea2f26c4e802067d58831f415db (patch) | |
tree | 6aa8d6d48b9faf66f33487baeeb259c4c7ea2d35 /fs/Makefile | |
parent | io_uring: remove index from sqe_submit (diff) | |
download | linux-95a1b3ff9a3e4ea2f26c4e802067d58831f415db.tar.xz linux-95a1b3ff9a3e4ea2f26c4e802067d58831f415db.zip |
io_uring: Fix mm_fault with READ/WRITE_FIXED
Commit fb5ccc98782f ("io_uring: Fix broken links with offloading")
introduced a potential performance regression with unconditionally
taking mm even for READ/WRITE_FIXED operations.
Return the logic handling it back. mm-faulted requests will go through
the generic submission path, so honoring links and drains, but will
fail further on req->has_user check.
Fixes: fb5ccc98782f ("io_uring: Fix broken links with offloading")
Cc: stable@vger.kernel.org # v5.4
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions