Project

General

Profile

Actions

Bug #3367

closed

client: hardlink without original file breaks on unmount

Added by Sam Lang over 11 years ago. Updated almost 8 years ago.

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

0%

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

Description

I'm not able to reproduce this on fuse, but with the libcephfs client, the following:

mkdir dir1
cd dir1
create foo
link foo hardlinkfoo
unlink foo
unmount

causes a segfault, see the attached files for a stacktrace and client log.


Files

client.admin.log (264 KB) client.admin.log Client log Sam Lang, 10/19/2012 09:36 AM
out1 (5.86 KB) out1 Stack trace Sam Lang, 10/19/2012 09:36 AM
Actions #1

Updated by Sam Lang over 11 years ago

  • Description updated (diff)
  • Category set to 46
  • Status changed from New to Fix Under Review
  • Assignee set to Sage Weil

Proposed fix in wip-3367. The Client::link() call was calling put_inode(dir) on successful completion, instead of leaving the parent directory inode reference incremented.

Actions #2

Updated by Sage Weil over 11 years ago

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

Updated by Greg Farnum almost 8 years ago

  • Component(FS) Client added
Actions

Also available in: Atom PDF