aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorBernd Schubert <[email protected]>2025-01-20 01:29:09 +0000
committerMiklos Szeredi <[email protected]>2025-01-27 17:02:23 +0000
commit3393ff964e0fa5def66570c54a4612bf9df06b76 (patch)
treeda235d5838d4ae0781b099380b23c96eec0d33c0 /lib/timerqueue.c
parentfuse: {io-uring} Prevent mount point hang on fuse-server termination (diff)
downloadkernel-3393ff964e0fa5def66570c54a4612bf9df06b76.tar.gz
kernel-3393ff964e0fa5def66570c54a4612bf9df06b76.zip
fuse: block request allocation until io-uring init is complete
Avoid races and block request allocation until io-uring queues are ready. This is a especially important for background requests, as bg request completion might cause lock order inversion of the typical queue->lock and then fc->bg_lock fuse_request_end spin_lock(&fc->bg_lock); flush_bg_queue fuse_send_one fuse_uring_queue_fuse_req spin_lock(&queue->lock); Signed-off-by: Bernd Schubert <[email protected]> Reviewed-by: Luis Henriques <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions