]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] dm snapshot: permit invalid activation
authorMilan Broz <mbroz@redhat.com>
Thu, 12 Jul 2007 16:28:13 +0000 (17:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Aug 2007 15:24:15 +0000 (17:24 +0200)
commitf4c146b686810ba345b72ca3e2a0c74586838f1c
tree534dd2516b5c6a140dac621388cff627d36174b6
parentf83801d9974cda3172c4ca9c72ca39940df30f47
[PATCH] dm snapshot: permit invalid activation

Allow invalid snapshots to be activated instead of failing.

This allows userspace to reinstate any given snapshot state - for
example after an unscheduled reboot - and clean up the invalid snapshot
at its leisure.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/md/dm-exception-store.c
drivers/md/dm-snap.c