Project

General

Profile

Actions

Bug #14996

closed

libcephfs hangs on shutdown if an unclosed opendir handle exists

Added by John Spray about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This will hang on shutdown:

import cephfs                                                                   
f = cephfs.LibCephFS(conffile='')                                               
f.mount()                                                                       
d = f.opendir("/")

Interestingly, open FDs on files don't have the same issue.

Actions #1

Updated by Zheng Yan about 8 years ago

I think we should unify open file/directory handle

Actions #2

Updated by Zheng Yan about 8 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Greg Farnum about 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF