Project

General

Profile

Actions

Feature #12132

closed

cephfs-data-scan: Cleanup phase

Added by John Spray almost 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
fsck/damage handling
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

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.

Actions #1

Updated by John Spray over 8 years ago

  • Category changed from 66 to fsck/damage handling
Actions #2

Updated by Vishal Kanaujia almost 8 years ago

  • Assignee set to Vishal Kanaujia
Actions #3

Updated by Vishal Kanaujia over 7 years ago

  • 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.

Actions #5

Updated by John Spray over 7 years ago

  • 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>
Actions

Also available in: Atom PDF