1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/tools
Zdenek Kabelac 794e94fe16 Replace PV_MIN_SIZE with function pv_min_size()
Add configurable option to define minimal size of
of block device usable as a PV.

pv_min_size() is added to lvm-globals and it's being
initialized through _process_config.

Macro PV_MIN_SIZE is unused and removed.

New define DEFAULT_PV_MIN_SIZE_KB is added to lvm-global
and unlike PV_MIN_SIZE it uses KB units.

Should help users with various slow devices attached to the system,
which cannot be easily filtered out (like FDD on /dev/sdX):
https://bugzilla.redhat.com/show_bug.cgi?id=644578
2011-02-18 14:11:22 +00:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
args.h Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h Add global/metadata_read_only to use unrepaired metadata in read-only cmds. 2010-10-25 11:20:54 +00:00
dmsetup.c Add configure option --with-device-nodes-on 2011-02-04 22:17:54 +00:00
dumpconfig.c Tidy some uses of arg_count and introduce arg_is_set. 2009-11-03 15:50:42 +00:00
formats.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvchange.c Add change_tag to toollib. 2011-01-24 13:38:31 +00:00
lvconvert.c Do not check for open_count when not needed. 2011-02-03 01:24:46 +00:00
lvcreate.c Add disk to mirrored log type conversion. 2011-01-11 17:05:08 +00:00
lvdisplay.c Rework the toollib interface (process_each_*) on top of new vg_read. 2009-07-01 17:00:50 +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 Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm2cmd.h Remove C++ private keyword from headers. 2010-06-16 13:01:25 +00:00
lvm2cmdline.h Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
lvm-static.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm.c Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
lvmchange.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvmcmdlib.c mlockall() -> mlock() 2010-03-05 14:48:33 +00:00
lvmcmdline.c Do not log backtrace for correctly processed command 2011-01-13 15:00:29 +00:00
lvmdiskscan.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvrename.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
lvresize.c Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
lvscan.c Do not check for open_count when not needed. 2011-02-03 01:24:46 +00:00
Makefile.in Fix linking order for liblvm2cmd 2010-10-15 09:41:21 +00:00
polldaemon.c If other process finishes (or aborts) pvmove operation and 2011-01-19 23:11:39 +00:00
polldaemon.h Default to checking LV's progress before waiting in _wait_for_single_lv. 2010-01-22 21:59:42 +00:00
pvchange.c Add change_tag to toollib. 2011-01-24 13:38:31 +00:00
pvck.c Add escape sequence for ':' and '@' found in device names used as PVs. 2010-09-23 12:02:33 +00:00
pvcreate.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
pvdisplay.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
pvmove.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
pvremove.c Suppress 'No PV label' message when removing several PVs without mdas. 2010-11-23 01:55:53 +00:00
pvresize.c Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
pvscan.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
reporter.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
segtypes.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
stub.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
toollib.c Add change_tag to toollib. 2011-01-24 13:38:31 +00:00
toollib.h Add change_tag to toollib. 2011-01-24 13:38:31 +00:00
tools.h Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
vgcfgbackup.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgcfgrestore.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
vgchange.c Allow snapshots in a cluster as long as they are exclusively 2011-02-04 20:30:17 +00:00
vgck.c Make vgck warn about missing PVs. 2010-07-27 20:05:29 +00:00
vgconvert.c Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
vgcreate.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
vgdisplay.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgexport.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgextend.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
vgimport.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgmerge.c Add further consistency checking to vg_validate, ensuring that all segment 2010-12-14 17:51:09 +00:00
vgmknodes.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgreduce.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
vgremove.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgrename.c Add backtraces for backup and backup_remove fail paths 2010-12-22 15:36:41 +00:00
vgscan.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgsplit.c Add further consistency checking to vg_validate, ensuring that all segment 2010-12-14 17:51:09 +00:00