]> git.apps.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>
Fri, 30 Jul 2021 23:28:53 +0000 (16:28 -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>
src/mon/FSCommands.cc

index b0ffd4c34a42770c01dbf7b1a7372f9bf0c0c2d9..b186f625b909c2135ddaaab00cec2f543b568298 100644 (file)
@@ -397,11 +397,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(