diff options
author | David Zafman <david.zafman@inktank.com> | 2013-09-17 14:59:15 -0700 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-09-23 13:12:42 -0700 |
commit | ccdd614403473ff31fefb6abc985b96f6be6aba1 (patch) | |
tree | cef6bf6967831940ad60da898e09ec6b0143da2f | |
parent | d5df020cb984730daabae6a799920ada7d008569 (diff) | |
download | ceph-ccdd614403473ff31fefb6abc985b96f6be6aba1.tar.gz |
osd: read_superblock() not outputing unsupported features when incompatible
Use working version of CompatSet::unsupported() to improve log output
Backport: dumpling, cuttlefish
Signed-off-by: David Zafman <david.zafman@inktank.com>
-rw-r--r-- | src/osd/OSD.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 1cdc232b064..4d8a0b4d0d5 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1721,13 +1721,13 @@ int OSD::read_superblock() derr << " daemon features " << osd_compat << dendl; if (osd_compat.writeable(superblock.compat_features)) { - derr << "it is still writeable, though. Missing features:" << dendl; CompatSet diff = osd_compat.unsupported(superblock.compat_features); + derr << "it is still writeable, though. Missing features: " << diff << dendl; return -EOPNOTSUPP; } else { - derr << "Cannot write to disk! Missing features:" << dendl; CompatSet diff = osd_compat.unsupported(superblock.compat_features); + derr << "Cannot write to disk! Missing features: " << diff << dendl; return -EOPNOTSUPP; } } |