Skip to content

Commit

Permalink
ceph-objectstore-tool: Output only unsupported features when incomatible
Browse files Browse the repository at this point in the history
Fixes: #11176
Backport: firefly, giant

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 5b23f5b)
  • Loading branch information
dzafman committed Mar 21, 2015
1 parent ffb76d1 commit de4b087
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/ceph_objectstore_tool.cc
Expand Up @@ -2094,8 +2094,9 @@ int main(int argc, char **argv)
cerr << "On-disk features: " << superblock.compat_features << std::endl;
}
if (supported.compare(superblock.compat_features) == -1) {
CompatSet unsupported = supported.unsupported(superblock.compat_features);
cerr << "On-disk OSD incompatible features set "
<< superblock.compat_features << std::endl;
<< unsupported << std::endl;
ret = EINVAL;
goto out;
}
Expand Down

0 comments on commit de4b087

Please sign in to comment.