]> 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)
commitcc96e9a0ff46e6c931bc6e5a332acec016d4fe20
tree75a7dc0bf78597a0f059ad69262d87765775b988
parent22a33410dc109af13e2e8538c5468f1426125575
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