1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Milan Broz 34de60e4d4 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.)
2009-12-09 19:53:39 +00:00
..
activate Fix memory lock imbalance in lv_suspend if already suspended. 2009-12-03 19:23:40 +00:00
cache Move persistent filter dump to more appropriate place. 2009-11-24 16:11:37 +00:00
commands Optionally abort on internal errors (and leverage this option in the 2009-11-30 17:17:11 +00:00
config Optionally abort on internal errors (and leverage this option in the 2009-11-30 17:17:11 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Fix pvcreate on a partition (regressed in 2.02.51). 2009-08-19 15:34:33 +00:00
display Switch status from 32-bit to 64-bit 2009-11-24 22:55:55 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Recognise DRBD device part and handle it similar to MD devices. 2009-10-27 17:00:44 +00:00
format1 Recognise DRBD device part and handle it similar to MD devices. 2009-10-27 17:00:44 +00:00
format_pool Recognise DRBD device part and handle it similar to MD devices. 2009-10-27 17:00:44 +00:00
format_text Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
locking Get rid of magic masks in cluster locking code. 2009-12-09 18:28:27 +00:00
log If aborting due to an internal error, always print the message causing this. 2009-12-01 13:54:27 +00:00
metadata Call explicitly suspend for temporary mirror layer. 2009-12-09 19:53:39 +00:00
mirror Fix pvmove region_size overflow for very large PVs. 2009-11-18 16:48:10 +00:00
misc Provide alternative implementation of obsolete siginterrupt(). 2009-09-28 21:23:02 +00:00
mm Fix another bug in memlock handling, this time the "global" dmeventd memlock 2009-11-19 01:11:57 +00:00
report Add vg_mda_count library function. 2009-10-31 17:26:13 +00:00
snapshot Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
striped Add global/si_unit_consistency to enable cleaned-up use of units in output. 2009-09-28 16:23:44 +00:00
unknown Fix the "const discarded" warnings introduced in the unknown segment patch. 2009-10-22 10:38:07 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00