Actions
Bug #17195
closedThere seems to be a thread waiting indefinitely in krbd.cc
Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We recently encountered this issue where rbd map hangs. From the thread trace we identified this piece of code:
if (poll(fds, 1, -1) < 0)
return -errno;
in krbd.cc does not have a timeout associated with it. It might be nicer to have some timeout even if it is 2-3 minutes otherwise the call hangs forever.
if (poll(fds, 1, 120000) < 0)
return -errno;
Actions