From: Patrick Donnelly Date: Wed, 18 Jan 2023 02:29:39 +0000 (-0500) Subject: mds: catch damage to dentry's first field X-Git-Tag: v16.2.13~55^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1771aae8e79b577acde749a292d9965264f20202;p=ceph.git 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 (cherry picked from commit 03407528f95fe60e5af4062c3caa3688b8b31530) Conflicts: src/common/options/mds.yaml.in src/mds/CDir.cc --- diff --git a/src/common/options.cc b/src/common/options.cc index b6481d1f4356..d3ced762ea86 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8684,6 +8684,10 @@ std::vector