diff options
author | 2025-01-20 02:29:09 +0100 | |
---|---|---|
committer | 2025-01-27 18:02:23 +0100 | |
commit | 3393ff964e0fa5def66570c54a4612bf9df06b76 (patch) | |
tree | da235d5838d4ae0781b099380b23c96eec0d33c0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | fuse: {io-uring} Prevent mount point hang on fuse-server termination (diff) | |
download | linux-rng-3393ff964e0fa5def66570c54a4612bf9df06b76.tar.xz linux-rng-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 <bernd@bsbernd.com>
Reviewed-by: Luis Henriques <luis@igalia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions