Project

General

Profile

Feature #12145

cephfs-data-scan: pgls filter for 0th file objects

Added by John Spray almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
fsck/damage handling
Target version:
-
Start date:
06/24/2015
Due date:
% Done:

0%

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

Description

Currently, when iterating over 0th objects, we are actually listing all the objects and selecting the ones we care about client side.

That's clunky for systems with big files where the 0th objects are in a small minority. Implement an OSD-side PGLS filter for this case. The filter could be something generic like a comparison of trailing characters in the object name.

If doing this after #12133, also implement a pgls filter for the files that aren't touched by forward scrub.

Associated revisions

Revision 786d111a (diff)
Added by John Spray over 3 years ago

cls_cephfs: add PGLSCephFSFilter

Special purpose filter for use with CephFS disaster
recovery.

Fixes: #12145
Signed-off-by: John Spray <>

History

#1 Updated by John Spray almost 4 years ago

  • Category changed from 66 to fsck/damage handling

#2 Updated by John Spray about 3 years ago

  • Status changed from New to Resolved

This was done for jewel.

Also available in: Atom PDF