1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Milan Broz 772cac09e3 Enable use of cached metadata for pvs & pvdisplay.
Currently PV commands, which performs full device scan, repeatly
re-reads PVs and scans for all devices.

This behaviour can lead to OOM for large VG.

This patch allows using internal metadata cache for pvs & pvdisplay,
so the commands scan the PVs only once.
(We have to use VG_GLOBAL otherwise cache is invalidated on every
VG unlock in process_single PV call.)
2009-04-08 12:53:20 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
args.h Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h Enable use of cached metadata for pvs & pvdisplay. 2009-04-08 12:53:20 +00:00
dmsetup.c drop explicit libdevmapper.h 2008-10-30 17:52:06 +00:00
dumpconfig.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
formats.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvchange.c Fix vgrename using UUID in case there are VGs with the same name. 2008-12-19 14:22:48 +00:00
lvconvert.c Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
lvcreate.c Fix lv_count when manipulating with snapshots and max_lv is set. 2009-03-16 14:34:57 +00:00
lvdisplay.c Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
lvextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm2cmd-static.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmd.c Fix mirror log name construction during lvconvert. (2.02.30) 2008-01-31 12:19:36 +00:00
lvm2cmd.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmdline.h lvm2cmdline.h:31: warning: declaration of `is_static' shadows a global declaration 2008-12-19 18:51:02 +00:00
lvm-static.c Use tools.h in for lvm-static. 2009-01-20 20:37:41 +00:00
lvm.c Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
lvmchange.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvmcmdlib.c Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +00:00
lvmcmdline.c Do not use pointer from released memory pool (cmd->cmd_line). 2009-04-02 14:59:48 +00:00
lvmdiskscan.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c Fix "lvremove -f vgname" when vgname contains snapshots. 2008-11-17 18:20:13 +00:00
lvrename.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvresize.c . 2009-02-28 19:43:42 +00:00
lvscan.c Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
Makefile.in Fix some clean rules, fix previous distclean checkin. 2009-03-16 20:00:10 +00:00
polldaemon.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
polldaemon.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
pvchange.c Try to avoid full rescan if label scan is enough. 2009-02-25 23:29:06 +00:00
pvck.c Clean up numerous compiler warnings that crept in recently. 2007-08-22 14:38:18 +00:00
pvcreate.c Some extra (paranoid) checks on dev_is_{md,swap} result. 2009-03-17 14:00:58 +00:00
pvdisplay.c Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
pvmove.c Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
pvremove.c Try to avoid full rescan if label scan is enough. 2009-02-25 23:29:06 +00:00
pvresize.c Try to avoid full rescan if label scan is enough. 2009-02-25 23:29:06 +00:00
pvscan.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
reporter.c Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
segtypes.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
stub.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
toollib.c Enable use of cached metadata for pvs & pvdisplay. 2009-04-08 12:53:20 +00:00
toollib.h Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
tools.h more missing bits 2008-11-04 14:57:06 +00:00
vgcfgbackup.c Improve the way VGs with PVs missing are handled so manual intervention 2008-09-19 06:42:00 +00:00
vgcfgrestore.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
vgchange.c Add "--refresh" functionality to vgchange and vgmknodes. 2008-12-22 09:00:51 +00:00
vgck.c Fix warning in previous commit. 2009-03-16 15:19:29 +00:00
vgconvert.c Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
vgcreate.c Fix vgcreate race which could allow two parallel vgcreates to succeed, 2008-12-01 20:14:33 +00:00
vgdisplay.c Fix vgdisplay return code and exit status. 2008-11-07 19:02:47 +00:00
vgexport.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
vgextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
vgimport.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
vgmerge.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
vgmknodes.c Add "--refresh" functionality to vgchange and vgmknodes. 2008-12-22 09:00:51 +00:00
vgreduce.c Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
vgremove.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
vgrename.c Remove old metadata backup file after renaming vg. 2009-03-23 22:29:06 +00:00
vgscan.c Fix vgreduce to use vg_split_mdas to check sufficient mdas remain. 2008-04-08 12:49:21 +00:00
vgsplit.c Rename vg_read() to vg_read_internal(). (mornfall) 2009-01-26 19:01:32 +00:00