]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: mark damaged if sessions' preallocated inos don't match inotable 21372/head
authorYan, Zheng <zyan@redhat.com>
Mon, 26 Mar 2018 07:55:02 +0000 (15:55 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 12 Apr 2018 09:28:22 +0000 (05:28 -0400)
commit0f9703ee4682985aaa6e5536b972073a2a5e0834
treed21e8b30375596d0edb784f463d0dc832f09c4e7
parent719e13ccfcc6cdf163d03ddfb0f55dbe0e338f48
mds: mark damaged if sessions' preallocated inos don't match inotable

We don't know if session's preallocated inos are incorrect or inotable
is incorrect. So it's better just mark mds damaged.

Fixes: http://tracker.ceph.com/issues/23452
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit e5832658d8654bdf11fcb3357b84e3853fd86031)
src/mds/MDSRank.cc