]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add inline feature to MDS bootstrap incompat 44910/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 31 Jan 2022 22:58:55 +0000 (17:58 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 5 Feb 2022 14:17:31 +0000 (09:17 -0500)
commit089c84ce2b2c96352e2dd5ea8714131a9cb8c471
treef55543aec442e7ea548181e5a60638c32544952e
parentbeb15b1d820210f54d4a22c08a348cb57c65a9cd
mds: add inline feature to MDS bootstrap incompat

File systems that had inline data enabled at some point would have this
bit in the CompatSet "incompat" set. This would conflict during upgrade
with the default v16.2.4 CompatSet assigned to existing (16.2.4-) MDS.
Subsequently, this would cause an assertion in FSMap::sanity during
pending map creation.

This bit will get added anyway during the upgrade process so might as
well add it to the MDS CompatSet during bootstrap.

Fixes: https://tracker.ceph.com/issues/54081
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d341c5b7734b45568cd986f05d41e91e4cf4a4f7)
src/mds/FSMap.cc
src/mds/MDSMap.cc