]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79ad5e063d3ea0b0d9b63b33c748d6ad033a3d54
tree75a7dc0bf78597a0f059ad69262d87765775b988
parent452d18817ff384439cef87835f280f04bebba6b8
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