]> sourceware.org Git - lvm2.git/commit
tests: try to force remove higher minor first
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 4 Jul 2016 13:39:44 +0000 (15:39 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 4 Jul 2016 15:40:24 +0000 (17:40 +0200)
commit2981d1e79851bc83751efc1d9ce987cdc65305bc
treea4a0e3ed35677af510b7b2c5c16ddeeec18c4be0
parentc0a505b0bb4eb6584bfea54b526ce38bdfcfa838
tests: try to force remove higher minor first

When force removing thin-pool we loose 'real' access to hidden device,
and if such pool is in suspended state, any thin volume cannot be
dropped. It likely should be also checked by dmsetup, but meanwhile
apply simple logic -  try to force remove first all higher minors first
with assumption we first create thin-pool and then thin volume
and there are usually not being released lower dm numbers to
get the order wrong.
test/lib/aux.sh
This page took 0.040414 seconds and 5 git commands to generate.