]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: catch damage to dentry's first field
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 18 Jan 2023 02:29:39 +0000 (21:29 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 29 Mar 2023 17:02:55 +0000 (13:02 -0400)
commit03407528f95fe60e5af4062c3caa3688b8b31530
treefd747f96ddf873b7a81edccabbb1023de38da6ce
parentc9d36056c7d515ad879d589938f888f9f2787973
mds: catch damage to dentry's first field

When possible. Abort the MDS before it can be written to the
journal/directory.

This is part of a series to address corruption first observed in [1].
How the corruption is introduced is yet unknown.

[1] https://tracker.ceph.com/issues/38452#note-10

Fixes: http://tracker.ceph.com/issues/58482
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options/mds.yaml.in
src/mds/CDentry.cc
src/mds/CDentry.h
src/mds/CDir.cc
src/mds/MDSTableClient.h
src/mds/SnapClient.h
src/mds/events/EMetaBlob.h