]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs/first-damage: repair specific first=CEPH_NOSNAP damage 49664/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 7 Jan 2023 20:49:00 +0000 (15:49 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 7 Jan 2023 20:49:46 +0000 (15:49 -0500)
commit2ade9390c63b0175531e92cf07c048b109f71648
tree7ec4aef1d4e8e37fde218b51a34bec36d31695b4
parent916241fd53f0c7d1fd3d55b1b2ae11ec80697971
tools/cephfs/first-damage: repair specific first=CEPH_NOSNAP damage

first==CEPH_NOSNAP is never valid. Apparently somehow the MDS may set
this in some code path yet to be discovered, even without snapshots.

Note, we probably should not necessarily automate this fix via the MDS
because we do not know if this dentry (visible in HEAD) should also be
visible before NEXT_SNAP.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/workunits/fs/damage/test-first-damage.sh
src/tools/cephfs/first-damage.py