mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
ceph-volume: adds used_by_ceph to filestore singletype batch report
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This commit is contained in:
parent
9d49a3708e
commit
48d10c9ccf
@ -106,7 +106,7 @@ class SingleType(object):
|
||||
journal_size = self.journal_size
|
||||
data_size = osd_size - journal_size
|
||||
data_percentage = data_size * 100 / device_size
|
||||
osd = {'data': {}, 'journal': {}}
|
||||
osd = {'data': {}, 'journal': {}, 'used_by_ceph': device.used_by_ceph}
|
||||
osd['data']['path'] = device.abspath
|
||||
osd['data']['size'] = data_size.b.as_int()
|
||||
osd['data']['parts'] = self.osds_per_device
|
||||
|
Loading…
Reference in New Issue
Block a user