1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Petr Rockai eee66d2a80 When glibc needs buffers for line buffering of input and output buffers, it
allocates these buffers in such way it adds memory page for each such buffer
and size of unlock memory check will mismatch by 1 or 2 pages.

This happens when we print or read lines without '\n' so these buffers are
used. To avoid this extra allocation, use setvbuf to set these bufffers ahead.

Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
Reviewed-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
2011-05-07 13:50:11 +00:00
..
activate Fix some unmatching sign comparation gcc warnings 2011-04-08 14:40:18 +00:00
cache Skip check for NULL before dm_free 2011-04-21 13:15:26 +00:00
commands When glibc needs buffers for line buffering of input and output buffers, it 2011-05-07 13:50:11 +00:00
config Set pv_min_size to 2048KB to exclude floppy drives. 2011-04-28 17:33:34 +00:00
datastruct Better const cast logic 2011-04-08 14:14:57 +00:00
device Missing space in debug message 2011-04-28 19:59:17 +00:00
display Fix some compile warnings on RHEL5 2011-03-01 20:17:56 +00:00
error Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
filters Obtain device list from udev by default if LVM2 is compiled with udev support. 2011-04-22 12:05:32 +00:00
format1 Fix reading of unitialized memory 2011-03-30 12:30:39 +00:00
format_pool Use format instance mempool where possible and adequate. 2011-03-11 15:10:16 +00:00
format_text test update without WHATS_NEW to check it gives warning now 2011-04-29 19:06:17 +00:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking pre-release clean-ups 2011-04-29 00:21:13 +00:00
log pre-release clean-ups 2011-04-29 00:21:13 +00:00
metadata Make vg_mark_partial_lvs also clear existing PARTIAL_LV flags, so it can be 2011-05-07 13:32:05 +00:00
mirror Make vg_mark_partial_lvs also clear existing PARTIAL_LV flags, so it can be 2011-05-07 13:32:05 +00:00
misc Set pv_min_size to 2048KB to exclude floppy drives. 2011-04-28 17:33:34 +00:00
mm pre-release clean-ups 2011-04-29 00:21:13 +00:00
replicator Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
report This patchset refactors some reporting code and completes the remaining 2011-04-12 12:24:29 +00:00
snapshot pre-release clean-ups 2011-04-29 00:21:13 +00:00
striped Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
unknown Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
uuid Const fixing 2011-02-18 14:47:28 +00:00
zero Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00