[sheepdog] [PATCH v2] cache: introduce 'cache info' command

MORITA Kazutaka morita.kazutaka at gmail.com
Fri Aug 9 16:14:44 CEST 2013


At Fri,  9 Aug 2013 16:52:44 +0800,
Liu Yuan wrote:
> 
> usage:
>  $ collie vdi cache info # Get the cache informatin of the node
> 
> Example:
> yliu at ubuntu-precise:~/sheepdog$ collie/collie vdi cache info
> Name	Tag	Total	Dirty	Clean
> test		88 MB	68 MB	20 MB
> data		88 MB	0.0 MB	88 MB
> 
> Cache size 200 MB, used 176 MB
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  v2:
>  - read inode header only for vid_to_name_tag

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list