Project

General

Profile

Actions

Bug #9101

open

multimds: unlinked file is not pruned from replica mds caches

Added by Sage Weil over 9 years ago. Updated over 4 years ago.

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

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Common/Protocol, MDS
Labels (FS):
multimds
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

as a result, deleted files stay pinned for a long time and space does not get removed.


Files

debug.log (13.6 MB) debug.log Debug log from the client side Stephane Boisvert, 08/13/2014 11:36 AM
foo.txt (8.64 KB) foo.txt Stephane Boisvert, 08/13/2014 12:59 PM
Actions #1

Updated by Stephane Boisvert over 9 years ago

Here is the debug data when using a ceph-fuse client.

We did reproduce the problem

Actions #2

Updated by Stephane Boisvert over 9 years ago

Actions #3

Updated by Sage Weil over 9 years ago

  • Subject changed from lifcephfs/ceph-fuse: unlinked file does not release cap to mds quickly to multimds: unlinked file is not pruned from replica mds caches
  • Category set to 47
Actions #4

Updated by Sage Weil over 9 years ago

  • Status changed from New to Fix Under Review
  • Backport set to firefly,dumpling
Actions #5

Updated by Sage Weil over 9 years ago

looks like the problem is that another mds has the inode in its cache and isn't trimming it (or being asked to trim it) when nlink drops to 0.

Actions #6

Updated by Sage Weil over 9 years ago

  • Status changed from Fix Under Review to 12
  • Backport deleted (firefly,dumpling)
Actions #7

Updated by Greg Farnum over 9 years ago

  • Priority changed from High to Normal
Actions #8

Updated by Greg Farnum almost 8 years ago

  • Category changed from 47 to 90
  • Component(FS) Common/Protocol, MDS added
Actions #9

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (90)
  • Labels (FS) multimds added
Actions #10

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF