aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2023-06-23 11:23:31 +0000
committerJens Axboe <[email protected]>2023-06-23 14:19:40 +0000
commitc98c81a4ac37b651be7eb9d16f562fc4acc5f867 (patch)
tree2af5fdc7cc2c86020c16e89588c66c2cb288e334 /fs/btrfs/dev-replace.c
parentio_uring: make io_cq_unlock_post static (diff)
downloadkernel-c98c81a4ac37b651be7eb9d16f562fc4acc5f867.tar.gz
kernel-c98c81a4ac37b651be7eb9d16f562fc4acc5f867.zip
io_uring: merge conditional unlock flush helpers
There is no reason not to use __io_cq_unlock_post_flush for intermediate aux CQE flushing, all ->task_complete should apply there, i.e. if set it should be the submitter task. Combine them, get rid of of __io_cq_unlock_post() and rename the left function. This place was also taking a couple percents of CPU according to profiles for max throughput net benchmarks due to multishot recv flooding it with completions. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/bbed60734cbec2e833d9c7bdcf9741aada5d8aab.1687518903.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions