diff options
author | Bernd Schubert <bernd@bsbernd.com> | 2025-01-20 04:29:09 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-01-27 20:02:23 +0300 |
commit | 3393ff964e0fa5def66570c54a4612bf9df06b76 (patch) | |
tree | da235d5838d4ae0781b099380b23c96eec0d33c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b6236c8407cba5d7a108facb1bcfab24994d3814 (diff) | |
download | linux-3393ff964e0fa5def66570c54a4612bf9df06b76.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions