]> sourceware.org Git - lvm2.git/commit
Disallow snapshots of mirror segment types.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 1 May 2012 19:21:24 +0000 (19:21 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 1 May 2012 19:21:24 +0000 (19:21 +0000)
commit1e4e9548b167ca2a76a0bbb3a5a347c062b84361
tree74073c89b9d96bf2f729d7155a144165b1837298
parentb22835dd68583f792226e44e965e30b38d4d7d7d
Disallow snapshots of mirror segment types.

Snapshots of RAID logical volumes are allowed (including "raid1").  However,
snapshots of "mirror" logical volumes has been disallowed due to unsolvable
issues inherent to the design.  The fact that mirroring (dm-raid1.c) must
stop all I/O as the result of a failure and wait for userspace intervention
can lead to a circular dependency if userspace is simultaneously waiting for
snapshots (on mirrors) to make an I/O update before proceeding.

Various snapshot on mirror tests have been removed as a result.
WHATS_NEW
lib/metadata/lv_manip.c
test/shell/lvconvert-repair-snapshot.sh
test/shell/snapshots-of-mirrors.sh
test/shell/vgreduce-removemissing-snapshot.sh
This page took 0.031008 seconds and 5 git commands to generate.