]> sourceware.org Git - lvm2.git/commit
Fix memory lock imbalance in lv_suspend if already suspended.
authorMilan Broz <mbroz@redhat.com>
Thu, 3 Dec 2009 19:23:40 +0000 (19:23 +0000)
committerMilan Broz <mbroz@redhat.com>
Thu, 3 Dec 2009 19:23:40 +0000 (19:23 +0000)
commit3516797b499402580ee3370d4fc5ee05115dcbac
tree9bc3c8e7a6f76767f5fb24d4e73759742568a757
parent1683e94f0cfa74be037665f5182b673e4fab75f4
Fix memory lock imbalance in lv_suspend if already suspended.

pvmove suspends all moved LVs + pvmoveX mirrored LV itself.

This suspends even underlying pvmoveX and following explicit
suspend call is just noop.

But in resume the pvmoveX volume is no longer underlying
device for moved LVs, so it performs full resume with memlock
decrease.

Code must call memlock_inc() if suspend is requested, volume
is already suspended and error is not requested.
WHATS_NEW
lib/activate/activate.c
This page took 0.03987 seconds and 5 git commands to generate.