Project

General

Profile

Actions

Bug #13782

closed

Snapshotted files not properly purged

Added by John Spray over 8 years ago. Updated almost 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):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Bad behaviour shown up by test TestStrays.test_snapshot_remove on this branch:
https://github.com/ceph/ceph-qa-suite/tree/wip-snap-strays

It seems like there is a premature purge happening when the head revision is unlinked, the stray dentry for the file (file_a in the test) goes away at that point, and subsequently when the snapshot is deleted we are not purging anything. If you let it pass by the assertion that the purge shouldn't happen after unlink and run to the end of the test, you'll also see that the number of objects in the data pool does not fall to zero.


Related issues 1 (0 open1 closed)

Related to CephFS - Bug #13777: Ceph file system is not freeing spaceResolved11/12/2015

Actions
Actions

Also available in: Atom PDF