summaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2023-08-01 19:14:24 +0200
committerIlya Dryomov <idryomov@gmail.com>2023-08-02 09:07:34 +0200
commite6e2843230799230fc5deb8279728a7218b0d63c (patch)
treea21e61af7751b68383c56bdcaa5f689579b5df47 /net/atm
parentrbd: prevent busy loop when requesting exclusive lock (diff)
downloadlinux-e6e2843230799230fc5deb8279728a7218b0d63c.tar.xz
linux-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: stable@vger.kernel.org Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn> Reviewed-by: Xiubo Li <xiubli@redhat.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions