aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2023-08-01 17:14:24 +0000
committerIlya Dryomov <[email protected]>2023-08-02 07:07:34 +0000
commite6e2843230799230fc5deb8279728a7218b0d63c (patch)
treea21e61af7751b68383c56bdcaa5f689579b5df47 /scripts/clang-tools/gen_compile_commands.py
parentrbd: prevent busy loop when requesting exclusive lock (diff)
downloadkernel-e6e2843230799230fc5deb8279728a7218b0d63c.tar.gz
kernel-e6e2843230799230fc5deb8279728a7218b0d63c.zip
libceph: fix potential hang in ceph_osdc_notify()
If the cluster becomes unavailable, ceph_osdc_notify() may hang even with osd_request_timeout option set because linger_notify_finish_wait() waits for MWatchNotify NOTIFY_COMPLETE message with no associated OSD request in flight -- it's completely asynchronous. Introduce an additional timeout, derived from the specified notify timeout. While at it, switch both waits to killable which is more correct. Cc: [email protected] Signed-off-by: Ilya Dryomov <[email protected]> Reviewed-by: Dongsheng Yang <[email protected]> Reviewed-by: Xiubo Li <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions