]> sourceware.org Git - lvm2.git/commit
cache: report stats for cache volumes usage
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 3 Nov 2014 11:38:29 +0000 (12:38 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 3 Nov 2014 13:19:33 +0000 (14:19 +0100)
commitca9482b276c4a74021d158e4b9c8e8a18dd50e35
treef858174ac5676baee8c22af3de31a7b5951c5f1d
parentb7bc28b7b7dfdcaf6be9f3d8050994d2df35d3e9
cache: report stats for cache volumes usage

Show some stats with 'lvs'
Display same info for active cache volume and cache-pool.

data% - #used cache blocks/#total cache blocks
meta% - #used metadata blocks/#total metadata blocks
copy% - #dirty/#used cache blocks

TODO: maybe there is a better mapping
 - should be seen as first-try-and-see.
WHATS_NEW
lib/report/properties.c
lib/report/report.c
This page took 0.032913 seconds and 5 git commands to generate.