ceph-volume: adds used_by_ceph to filestore singletype batch report

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This commit is contained in:
Andrew Schoen 2018-09-26 16:07:30 -05:00
parent 9d49a3708e
commit 48d10c9ccf

View File

@ -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