]> bbs.cooldavid.org Git - net-next-2.6.git/commit
dm snapshot: add allocated metadata to snapshot status
authorMike Snitzer <snitzer@redhat.com>
Thu, 10 Dec 2009 23:52:11 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:11 +0000 (23:52 +0000)
commit985903bb3a6d98623360ab6c855417f638840029
tree64e7582e0b7827aa318c4fe1c497ebc541d9ce8b
parent3510cb94ff7b04b016bd22bfee913e2c1c05c066
dm snapshot: add allocated metadata to snapshot status

Add number of sectors used by metadata to the end of the snapshot's status
line.

Renamed dm_exception_store_type's 'fraction_full' to 'usage'.  Renamed
arguments to be clearer about what is being returned.  Also added
'metadata_sectors'.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-exception-store.h
drivers/md/dm-snap-persistent.c
drivers/md/dm-snap-transient.c
drivers/md/dm-snap.c