]> sourceware.org Git - lvm2.git/commit
Call explicitly suspend for temporary mirror layer.
authorMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 19:53:39 +0000 (19:53 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 19:53:39 +0000 (19:53 +0000)
commit448e4251f81e0e2d6567c10a3b1a5c6077781dcb
treea7b01928d372173769415fabded563ec1ca4fc86
parent81ce20d6162adc8430758f8c654e9deb3619b0e5
Call explicitly suspend for temporary mirror layer.

The memlock_inc() fix is wrong, memlock count is not
propagated to long living process (clvmd) and just
it underflow there.
Also suspend is needed to pre-load precommited metadata
on other nodes (remapping to error taget in this case).

With explicit suspend we generate lock request and code
can update memlock count.

(Infinitely "locked" memory caused that fs_unlock() was not
called properly and on cluster nodes remains
old links in /dev/mapper for not active devices.)

(N.B. failing of suspend call here is not handled as fatal
error - the LV is going to be removed later anyway.)
WHATS_NEW
lib/metadata/mirror.c
This page took 0.030975 seconds and 5 git commands to generate.