Project

General

Profile

Actions

Bug #63301

open

cephfs-data-scan: may remove newest primary link of inode

Added by Patrick Donnelly 7 months ago. Updated 5 months ago.

Status:
Fix Under Review
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Support
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

sh-4.4$ cephfs-data-scan scan_links --filesystem <fs>
2023-10-24T08:04:06.078+0000 7f7911f4b440 -1 datascan.scan_links: Remove duplicated ino 0x0x10003afe43a from 0x100003ff439/f1.log
2023-10-24T08:04:06.078+0000 7f7911f4b440 -1 datascan.scan_links: Remove duplicated ino 0x0x10003b10002 from 0x100003ff431/f2.log
2023-10-24T08:04:06.078+0000 7f7911f4b440 -1 datascan.scan_links: Remove duplicated ino 0x0x10003b17eba from 0x100003ff435/f3.log
2023-10-24T08:04:06.090+0000 7f7911f4b440 -1 datascan.scan_links: Unexpected error reading dentry 0x100003ff439/f1.log: (2) No such file or directory

file names sanitized.

The f1.log dentry was removed and then used for updating nlinks.

The error crash caused remaining metadata to not be updated. That should be avoided if necessary in addition to fixing the logic error.

Actions #1

Updated by Venky Shankar 6 months ago

  • Status changed from New to Triaged
  • Assignee set to Venky Shankar
Actions #2

Updated by Venky Shankar 5 months ago

  • Status changed from Triaged to Fix Under Review
  • Pull request ID set to 54971
Actions

Also available in: Atom PDF