]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd: krbd: return -ETIMEDOUT in polling
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Mon, 18 Mar 2019 03:04:52 +0000 (23:04 -0400)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Wed, 20 Mar 2019 11:19:01 +0000 (07:19 -0400)
commitab833b823bf7dc5750f281a81f31ed8f708df73d
tree30bcc3f874511535137a8f28c09b59055c61b245
parentba556a77222f8c4f604693ea1ccc8db1bad57af7
rbd: krbd: return -ETIMEDOUT in polling

We don't want to wait on uevent forever, but the return value
of polling in timeout is 0 rather than a negative value.

Fixes: http://tracker.ceph.com/issues/38792
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
src/krbd.cc