mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
mon: do not update inline incompat except via mds
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>
This commit is contained in:
parent
4a10b6016f
commit
8cdc36c89d
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user