]> sourceware.org Git - lvm2.git/commit
activate: Improve snapshot merge initiation
authorAlasdair G Kergon <agk@redhat.com>
Fri, 15 Apr 2016 01:21:27 +0000 (02:21 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 15 Apr 2016 01:33:38 +0000 (02:33 +0100)
commit6954de22e2281876506c0db1c98972242de977fb
treedf98a8ca5ee55c56e2106bf9b498763088405134
parent150cff9cce019e3211d99dbdceaccf77db1e503a
activate: Improve snapshot merge initiation

A snapshot merge into its origin cannot be initiated while the devices
are in use.  If there is outside interference (such as from udev),
the suspend (preload) and resume stages can reach conflicting decisions
about whether or not to proceed.

Try to make the logic more robust by checking the inactive or live
table during resume.  (This is still not perfect.)
WHATS_NEW
lib/activate/activate.c
lib/activate/activate.h
lib/activate/dev_manager.c
This page took 0.037171 seconds and 5 git commands to generate.