Browse code

devmapper: add thin-pool blocksize to the 'docker info' output

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)

Mike Snitzer authored on 2014/06/27 01:39:16
Showing 1 changed files
... ...
@@ -54,6 +54,7 @@ func (d *Driver) Status() [][2]string {
54 54
 
55 55
 	status := [][2]string{
56 56
 		{"Pool Name", s.PoolName},
57
+		{"Pool Blocksize", fmt.Sprintf("%d Kb", s.SectorSize/1024)},
57 58
 		{"Data file", s.DataLoopback},
58 59
 		{"Metadata file", s.MetadataLoopback},
59 60
 		{"Data Space Used", fmt.Sprintf("%.1f Mb", float64(s.Data.Used)/(1024*1024))},