summaryrefslogtreecommitdiff
path: root/panels/printers/cc-printers-panel.h
diff options
context:
space:
mode:
authorIain Lane <iainl@gnome.org>2019-02-08 16:45:49 +0000
committerIain Lane <iainl@gnome.org>2019-02-08 17:25:39 +0000
commit09ec2c19e0f4a5cbb6fe15a3b6bfabda224a73f8 (patch)
tree546032c079ab1abcbdf5ca615dad7b2126a280bc /panels/printers/cc-printers-panel.h
parent529361870afe4b9da682043a906cf7e47194ec52 (diff)
downloadgnome-control-center-wip/info-udisks2-mdadm.tar.gz
info: Read MDADM arrays as their size, not the size of their underlying driveswip/info-udisks2-mdadm
These are exposed to the user as the size of the array. If we find such an array, read its size, record the drives and don't count their sizes individually. This is slightly fiddly for a couple of reasons: - There's no API exposed in udisks2 to get directly from the UDisksMDRaid object to the underlying UDisksDrives, so we have to construct proxies manually. - We might see the drives first, before we encounter the RAID array. So we keep a reference to the UDisks objects when counting disk sizes and then use this to later on subtract the size if we later find out a drive is actually part of an array.
Diffstat (limited to 'panels/printers/cc-printers-panel.h')
0 files changed, 0 insertions, 0 deletions