diff options
Diffstat (limited to 'lib/misc/lvm-globals.h')
-rw-r--r-- | lib/misc/lvm-globals.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/misc/lvm-globals.h b/lib/misc/lvm-globals.h index 2fabbc7..7fe3288 100644 --- a/lib/misc/lvm-globals.h +++ b/lib/misc/lvm-globals.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. - * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. + * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. * @@ -18,12 +18,15 @@ #define VERBOSE_BASE_LEVEL _LOG_WARN #define SECURITY_LEVEL 0 +#define PV_MIN_SIZE_KB 512 void init_verbose(int level); +void init_silent(int silent); void init_test(int level); void init_md_filtering(int level); void init_pvmove(int level); void init_full_scan_done(int level); +void init_obtain_device_list_from_udev(int device_list_from_udev); void init_trust_cache(int trustcache); void init_debug(int level); void init_cmd_name(int status); @@ -38,6 +41,10 @@ void init_error_message_produced(int produced); void init_is_static(unsigned value); void init_udev_checking(int checking); void init_dev_disable_after_error_count(int value); +void init_pv_min_size(uint64_t sectors); +void init_activation_checks(int checks); +void init_detect_internal_vg_cache_corruption(int detect); +void init_retry_deactivation(int retry); void set_cmd_name(const char *cmd_name); void set_sysfs_dir_path(const char *path); @@ -46,8 +53,10 @@ int test_mode(void); int md_filtering(void); int pvmove_mode(void); int full_scan_done(void); +int obtain_device_list_from_udev(void); int trust_cache(void); int verbose_level(void); +int silent_mode(void); int debug_level(void); int ignorelockingfailure(void); int lockingfailed(void); @@ -59,6 +68,10 @@ const char *log_command_name(void); unsigned is_static(void); int udev_checking(void); const char *sysfs_dir_path(void); +uint64_t pv_min_size(void); +int activation_checks(void); +int detect_internal_vg_cache_corruption(void); +int retry_deactivation(void); #define DMEVENTD_MONITOR_IGNORE -1 int dmeventd_monitor_mode(void); |