]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: krbd: return -ETIMEDOUT in polling 27536/head
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Mon, 18 Mar 2019 03:04:52 +0000 (23:04 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 11 Apr 2019 23:56:15 +0000 (19:56 -0400)
commit2c9b8dd96d3288928295bec901ba6c69f285be85
treea20b2a07b2bf6ae731693fd55f328da8daa4c571
parent1436006594665279fe734b4c15d7e08c13ebd777
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>
(cherry picked from commit ab833b823bf7dc5750f281a81f31ed8f708df73d)
src/krbd.cc