]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: do not update inline incompat except via mds
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 30 Mar 2021 21:07:46 +0000 (14:07 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Aug 2021 21:12:41 +0000 (14:12 -0700)
The MDS_FEATURE_INCOMPAT_INLINE feature indicates that an MDS knows how
to read/write inline data and that the file system may have it. The
separate setting for inline_data protects this file system feature.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8cdc36c89da224eb8e86ee6ed80cd2eb65354587)

src/mon/FSCommands.cc

index 4d96c7a0e45a02e7bac174f4313d44cd261517f5..15c6690da4db75a21627d7a7463ecf1962f98499 100644 (file)
@@ -385,11 +385,6 @@ public:
         {
           fs->mds_map.set_inline_data_enabled(true);
         });
-
-        // Update `compat`
-        CompatSet c = fsmap.get_compat();
-        c.incompat.insert(MDS_FEATURE_INCOMPAT_INLINE);
-        fsmap.update_compat(c);
       } else {
        ss << "inline data disabled";
         fsmap.modify_filesystem(