summaryrefslogtreecommitdiff
path: root/cni
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-09-11 14:43:57 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-09-11 14:48:56 +0200
commitf867d27ae02aa678a94e7a3e42671914025f4b3d (patch)
tree7c710646a60787e13736f99d9ebf09ffad15fa7f /cni
parent397de44d487e25b5820777fcbab9728cf2af5e14 (diff)
downloadpodman-f867d27ae02aa678a94e7a3e42671914025f4b3d.tar.gz
podman-f867d27ae02aa678a94e7a3e42671914025f4b3d.tar.bz2
podman-f867d27ae02aa678a94e7a3e42671914025f4b3d.zip
system df: fix image-size calculations
Fix the image-size calculations of system-df, where the shared size is the actual shared size with other images (including children) and the (total) size is the sum of the shared and unique size [1]. To calculate parent/child relations, make use of the recently added layer tree which allows for quick (and cached!) calculations. Break calculating image disk usages into the image runtime to a) access the layer tree, and b) make the code easier to maintain and extend. [1] https://docs.docker.com/engine/reference/commandline/system_df/ Fixes: #7406 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cni')
0 files changed, 0 insertions, 0 deletions