Feature #12132
closed
cephfs-data-scan: Cleanup phase
Added by John Spray almost 9 years ago.
Updated over 7 years ago.
Category:
fsck/damage handling
Description
A phase to remove the xattrs created during the scan_extents phase. They are small and harmless, but we should at least make it possible to remove them.
Users might sometimes actively choose not to do this, as it will impose O(n_files) write IOs on the data pool, for no functional change other than reclaiming a little bit of space.
- Category changed from 66 to fsck/damage handling
- Assignee set to Vishal Kanaujia
- Status changed from New to In Progress
The following xattrs are added to zeroth object:
#define XATTR_CEILING "scan_ceiling"
#define XATTR_MAX_MTIME "scan_max_mtime"
#define XATTR_MAX_SIZE "scan_max_size"
The new cleanup phase should delete them.
- Status changed from In Progress to Resolved
https://github.com/ceph/ceph/pull/12337#pullrequestreview-12909728
commit 8e8f8dd260a51e23588f7ef8b7f080355fa3fde2
Author: Vishal Kanaujia <Vishal.Kanaujia@sandisk.com>
Date: Tue Dec 6 18:38:24 2016 +0530
tools: cleanup phase of cephfs-data-scan
cephfs-data-scan has a new optional phase to delete xattrs generated
during recovery.
Signed-off-by: Vishal Kanaujia <vishal.kanaujia@sandisk.com>
Also available in: Atom
PDF