Project

General

Profile

Bug #17195

There seems to be a thread waiting indefinitely in krbd.cc

Added by Abhi N 9 months ago. Updated 18 days ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
-
Start date:
09/01/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

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;

History

#1 Updated by Jason Dillaman 5 months ago

  • Project changed from Ceph to rbd
  • Priority changed from Normal to Low

#2 Updated by Jason Dillaman 18 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF