]> git.karo-electronics.de Git - linux-beck.git/commit
dm snapshot: track suspended state in target
authorMike Snitzer <snitzer@redhat.com>
Thu, 10 Dec 2009 23:52:12 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:12 +0000 (23:52 +0000)
commitc26655ca3ca7550740a63820ee981e5c7c797523
tree1ac39d32d93a6fd5dbcfb5fa95304aecb6cb5efe
parentfc56f6fbcca3672c63c93c65f45105faacfc13cb
dm snapshot: track suspended state in target

Keep track of whether or not the device is suspended within the snapshot
target module, the same as we do in dm-raid1.

We will use this later to enforce the correct sequence of ioctls to
transfer the in-core exceptions from a snapshot target instance in
one table to a replacement one capable of merging them back
into the origin.

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