]> sourceware.org Git - lvm2.git/commit - lib/activate/activate.c
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)
commit63ae0d14643b05a4085220727c12940e275f72b9
tree9bc3c8e7a6f76767f5fb24d4e73759742568a757
parent29f011314d85fadda355effc145c653297caf75c
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.030451 seconds and 5 git commands to generate.