diff options
| author | Ilya Dryomov <[email protected]> | 2023-08-01 19:14:24 +0200 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2023-08-02 09:07:34 +0200 |
| commit | e6e2843230799230fc5deb8279728a7218b0d63c (patch) | |
| tree | a21e61af7751b68383c56bdcaa5f689579b5df47 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 9d01e07fd1bfb4daae156ab528aa196f5ac2b2bc (diff) | |
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/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions