io_uring: only hash regular files for async work execution
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Dec 2019 03:12:38 +0000 (20:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Dec 2019 23:33:23 +0000 (16:33 -0700)
commit53108d476a105ab2597d7a4e6040b127829391b5
tree75a7dc0bf78597a0f059ad69262d87765775b988
parent4a0a7a187453e65bdd24b9ede045b4c36b958868
io_uring: only hash regular files for async work execution

We hash regular files to avoid having multiple threads hammer on the
inode mutex, but it should not be needed on other types of files
(like sockets).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c