diff options
| author | Bernd Schubert <[email protected]> | 2025-01-20 01:29:09 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2025-01-27 17:02:23 +0000 |
| commit | 3393ff964e0fa5def66570c54a4612bf9df06b76 (patch) | |
| tree | da235d5838d4ae0781b099380b23c96eec0d33c0 /lib/timerqueue.c | |
| parent | fuse: {io-uring} Prevent mount point hang on fuse-server termination (diff) | |
| download | kernel-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
