]> sourceware.org Git - lvm2.git/commit
Use snapshot metadata usage to determine if snapshot is empty
authorMike Snitzer <snitzer@redhat.com>
Tue, 5 Jan 2010 21:14:04 +0000 (21:14 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 5 Jan 2010 21:14:04 +0000 (21:14 +0000)
commit5b7f6ad698e13112e3eba6a3fe2e4d7c67e91579
tree80fa34d6f77edf7c2c8ed2fcc845b707841df5db
parent56b3d20462c2e0094e8255bc62c0f663fad4dc3a
Use snapshot metadata usage to determine if snapshot is empty

Version >= 1.8.0 of the DM snapshot target appends metadata sectors used
to a snapshot's status.  This patch allows LVM2 to accurately determine
if the snapshot store is empty.  Knowing when a snapshot store is empty
is important in the context of snapshot-merge (means merge is complete).

Also update LVM2 to be aware of the possibility for "Merge failed" in
the snapshot-merge target's status.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
WHATS_NEW
lib/snapshot/snapshot.c
This page took 0.031431 seconds and 5 git commands to generate.