mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
devmapper: add thin-pool blocksize to the 'docker info' output
Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
This commit is contained in:
parent
79f217e350
commit
a2f3ce2294
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ func (d *Driver) Status() [][2]string {
|
||||||
|
|
||||||
status := [][2]string{
|
status := [][2]string{
|
||||||
{"Pool Name", s.PoolName},
|
{"Pool Name", s.PoolName},
|
||||||
|
{"Pool Blocksize", fmt.Sprintf("%d Kb", s.SectorSize/1024)},
|
||||||
{"Data file", s.DataLoopback},
|
{"Data file", s.DataLoopback},
|
||||||
{"Metadata file", s.MetadataLoopback},
|
{"Metadata file", s.MetadataLoopback},
|
||||||
{"Data Space Used", fmt.Sprintf("%.1f Mb", float64(s.Data.Used)/(1024*1024))},
|
{"Data Space Used", fmt.Sprintf("%.1f Mb", float64(s.Data.Used)/(1024*1024))},
|
||||||
|
|
Loading…
Reference in a new issue