Feature #46166
mds: store symlink target as xattr in data pool inode for disaster recovery
Status:
New
Priority:
Normal
Assignee:
Category:
fsck/damage handling
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
scrub
Pull request ID:
Description
Currently, the MDS only stores the symlink inode's backtrace information in the data pool. During disaster recovery of the metadata pool, e.g. by:
The symlinks are recreated as regular files. Store the symlink target in the inode for recovery.
Also, fix cephfs-data-scan to restore symlinks using this information.
History
#1 Updated by Patrick Donnelly 3 months ago
- Target version changed from v16.0.0 to v17.0.0