mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
cleanup: use spelling synchronize
Use single spelling form for synchronize.
This commit is contained in:
parent
98a34e43ab
commit
96123b9059
@ -3233,7 +3233,7 @@ Version 2.02.68 - 23rd June 2010
|
|||||||
Add device name and offset to raw_read_mda_header error messages.
|
Add device name and offset to raw_read_mda_header error messages.
|
||||||
Honour log argument when down-converting stacked mirror.
|
Honour log argument when down-converting stacked mirror.
|
||||||
Sleep to workaround clvmd -S race: socket closed early and server drops cmd.
|
Sleep to workaround clvmd -S race: socket closed early and server drops cmd.
|
||||||
Use early udev synchronisation and update of dev nodes for clustered mirrors.
|
Use early udev synchronization and update of dev nodes for clustered mirrors.
|
||||||
Remove incorrect inclusion of kdev_t.h from cmirrord/functions.h.
|
Remove incorrect inclusion of kdev_t.h from cmirrord/functions.h.
|
||||||
Add man pages for lvmconf and non-existent lvmsadc and lvmsar tools.
|
Add man pages for lvmconf and non-existent lvmsadc and lvmsar tools.
|
||||||
Exit successfully when using -o help (but not -o +help) with LVM reports.
|
Exit successfully when using -o help (but not -o +help) with LVM reports.
|
||||||
|
@ -1122,7 +1122,7 @@ Version 1.02.37 - 15th September 2009
|
|||||||
Version 1.02.36 - 6th August 2009
|
Version 1.02.36 - 6th August 2009
|
||||||
=================================
|
=================================
|
||||||
Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
|
Add udevcookies, udevcomplete, udevcomplete_all and --noudevwait to dmsetup.
|
||||||
Add libdevmapper functions to support synchronisation with udev.
|
Add libdevmapper functions to support synchronization with udev.
|
||||||
|
|
||||||
Version 1.02.35 - 28th July 2009
|
Version 1.02.35 - 28th July 2009
|
||||||
================================
|
================================
|
||||||
|
@ -1811,7 +1811,7 @@ activation {
|
|||||||
# Configuration option activation/polling_interval.
|
# Configuration option activation/polling_interval.
|
||||||
# Check pvmove or lvconvert progress at this interval (seconds).
|
# Check pvmove or lvconvert progress at this interval (seconds).
|
||||||
# When pvmove or lvconvert must wait for the kernel to finish
|
# When pvmove or lvconvert must wait for the kernel to finish
|
||||||
# synchronising or merging data, they check and report progress at
|
# synchronizing or merging data, they check and report progress at
|
||||||
# intervals of this number of seconds. If this is set to 0 and there
|
# intervals of this number of seconds. If this is set to 0 and there
|
||||||
# is only one thing to wait for, there are no progress reports, but
|
# is only one thing to wait for, there are no progress reports, but
|
||||||
# the process is awoken immediately once the operation is complete.
|
# the process is awoken immediately once the operation is complete.
|
||||||
|
12
configure
vendored
12
configure
vendored
@ -1712,8 +1712,8 @@ Optional Features:
|
|||||||
--disable-app-machineid disable LVM system ID using app-specific machine-id
|
--disable-app-machineid disable LVM system ID using app-specific machine-id
|
||||||
--disable-blkid_wiping disable libblkid detection of signatures when wiping
|
--disable-blkid_wiping disable libblkid detection of signatures when wiping
|
||||||
and use native code instead
|
and use native code instead
|
||||||
--enable-udev_sync enable synchronisation with udev processing
|
--enable-udev_sync enable synchronization with udev processing
|
||||||
--enable-udev_rules install rule files needed for udev synchronisation
|
--enable-udev_rules install rule files needed for udev synchronization
|
||||||
--enable-udev-rule-exec-detection
|
--enable-udev-rule-exec-detection
|
||||||
enable executable path detection in udev rules
|
enable executable path detection in udev rules
|
||||||
--enable-units-compat enable output compatibility with old versions that
|
--enable-units-compat enable output compatibility with old versions that
|
||||||
@ -13156,8 +13156,8 @@ printf "%s\n" "#define DEFAULT_USE_BLKID_WIPING $DEFAULT_USE_BLKID_WIPING" >>con
|
|||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable synchronisation with udev processing" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable synchronization with udev processing" >&5
|
||||||
printf %s "checking whether to enable synchronisation with udev processing... " >&6; }
|
printf %s "checking whether to enable synchronization with udev processing... " >&6; }
|
||||||
# Check whether --enable-udev_sync was given.
|
# Check whether --enable-udev_sync was given.
|
||||||
if test ${enable_udev_sync+y}
|
if test ${enable_udev_sync+y}
|
||||||
then :
|
then :
|
||||||
@ -13314,8 +13314,8 @@ fi
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable installation of udev rules required for synchronisation" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable installation of udev rules required for synchronization" >&5
|
||||||
printf %s "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
|
printf %s "checking whether to enable installation of udev rules required for synchronization... " >&6; }
|
||||||
# Check whether --enable-udev_rules was given.
|
# Check whether --enable-udev_rules was given.
|
||||||
if test ${enable_udev_rules+y}
|
if test ${enable_udev_rules+y}
|
||||||
then :
|
then :
|
||||||
|
12
configure.ac
12
configure.ac
@ -1133,18 +1133,18 @@ AC_DEFINE_UNQUOTED(DEFAULT_USE_BLKID_WIPING, [$DEFAULT_USE_BLKID_WIPING],
|
|||||||
[Use blkid wiping by default.])
|
[Use blkid wiping by default.])
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
dnl -- Enable udev synchronisation
|
dnl -- Enable udev synchronization
|
||||||
AC_MSG_CHECKING([whether to enable synchronisation with udev processing])
|
AC_MSG_CHECKING([whether to enable synchronization with udev processing])
|
||||||
AC_ARG_ENABLE(udev_sync,
|
AC_ARG_ENABLE(udev_sync,
|
||||||
AS_HELP_STRING([--enable-udev_sync],
|
AS_HELP_STRING([--enable-udev_sync],
|
||||||
[enable synchronisation with udev processing]),
|
[enable synchronization with udev processing]),
|
||||||
UDEV_SYNC=$enableval, UDEV_SYNC="no")
|
UDEV_SYNC=$enableval, UDEV_SYNC="no")
|
||||||
AC_MSG_RESULT([$UDEV_SYNC])
|
AC_MSG_RESULT([$UDEV_SYNC])
|
||||||
|
|
||||||
AS_IF([test "$UDEV_SYNC" = "yes"], [
|
AS_IF([test "$UDEV_SYNC" = "yes"], [
|
||||||
PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"])
|
PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"])
|
||||||
UDEV_STATIC_LIBS=$("$PKG_CONFIG" --static --libs libudev)
|
UDEV_STATIC_LIBS=$("$PKG_CONFIG" --static --libs libudev)
|
||||||
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
|
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronization with udev processing.])
|
||||||
|
|
||||||
AC_CHECK_LIB(udev, udev_device_get_is_initialized, AC_DEFINE([HAVE_LIBUDEV_UDEV_DEVICE_GET_IS_INITIALIZED], 1,
|
AC_CHECK_LIB(udev, udev_device_get_is_initialized, AC_DEFINE([HAVE_LIBUDEV_UDEV_DEVICE_GET_IS_INITIALIZED], 1,
|
||||||
[Define to 1 if udev_device_get_is_initialized is available.]))
|
[Define to 1 if udev_device_get_is_initialized is available.]))
|
||||||
@ -1152,10 +1152,10 @@ AS_IF([test "$UDEV_SYNC" = "yes"], [
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl -- Enable udev rules
|
dnl -- Enable udev rules
|
||||||
AC_MSG_CHECKING([whether to enable installation of udev rules required for synchronisation])
|
AC_MSG_CHECKING([whether to enable installation of udev rules required for synchronization])
|
||||||
AC_ARG_ENABLE(udev_rules,
|
AC_ARG_ENABLE(udev_rules,
|
||||||
AS_HELP_STRING([--enable-udev_rules],
|
AS_HELP_STRING([--enable-udev_rules],
|
||||||
[install rule files needed for udev synchronisation]),
|
[install rule files needed for udev synchronization]),
|
||||||
UDEV_RULES=$enableval, UDEV_RULES=$UDEV_SYNC)
|
UDEV_RULES=$enableval, UDEV_RULES=$UDEV_SYNC)
|
||||||
AC_MSG_RESULT([$UDEV_RULES])
|
AC_MSG_RESULT([$UDEV_RULES])
|
||||||
|
|
||||||
|
@ -2243,7 +2243,7 @@ struct dm_pool *dm_config_memory(struct dm_config_tree *cft);
|
|||||||
int dm_cookie_supported(void);
|
int dm_cookie_supported(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Udev synchronisation functions.
|
* Udev synchronization functions.
|
||||||
*/
|
*/
|
||||||
void dm_udev_set_sync_support(int sync_with_udev);
|
void dm_udev_set_sync_support(int sync_with_udev);
|
||||||
int dm_udev_get_sync_support(void);
|
int dm_udev_get_sync_support(void);
|
||||||
|
@ -2066,7 +2066,7 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
|
|||||||
/*
|
/*
|
||||||
* Prevent udev vs. libdevmapper race when processing nodes
|
* Prevent udev vs. libdevmapper race when processing nodes
|
||||||
* and symlinks. This can happen when the udev rules are
|
* and symlinks. This can happen when the udev rules are
|
||||||
* installed and udev synchronisation code is enabled in
|
* installed and udev synchronization code is enabled in
|
||||||
* libdevmapper but the software using libdevmapper does not
|
* libdevmapper but the software using libdevmapper does not
|
||||||
* make use of it (by not calling dm_task_set_cookie before).
|
* make use of it (by not calling dm_task_set_cookie before).
|
||||||
* We need to instruct the udev rules not to be applied at
|
* We need to instruct the udev rules not to be applied at
|
||||||
@ -2076,7 +2076,7 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
|
|||||||
if (!dmt->cookie_set && dm_udev_get_sync_support()) {
|
if (!dmt->cookie_set && dm_udev_get_sync_support()) {
|
||||||
log_debug_activation("Cookie value is not set while trying to call %s "
|
log_debug_activation("Cookie value is not set while trying to call %s "
|
||||||
"ioctl. Please, consider using libdevmapper's udev "
|
"ioctl. Please, consider using libdevmapper's udev "
|
||||||
"synchronisation interface or disable it explicitly "
|
"synchronization interface or disable it explicitly "
|
||||||
"by calling dm_udev_set_sync_support(0).",
|
"by calling dm_udev_set_sync_support(0).",
|
||||||
dmt->type == DM_DEVICE_RESUME ? "DM_DEVICE_RESUME" :
|
dmt->type == DM_DEVICE_RESUME ? "DM_DEVICE_RESUME" :
|
||||||
dmt->type == DM_DEVICE_REMOVE ? "DM_DEVICE_REMOVE" :
|
dmt->type == DM_DEVICE_REMOVE ? "DM_DEVICE_REMOVE" :
|
||||||
|
@ -2311,7 +2311,7 @@ static int _check_semaphore_is_supported(void)
|
|||||||
|
|
||||||
if (maxid < 0) {
|
if (maxid < 0) {
|
||||||
log_warn("Kernel not configured for semaphores (System V IPC). "
|
log_warn("Kernel not configured for semaphores (System V IPC). "
|
||||||
"Not using udev synchronisation code.");
|
"Not using udev synchronization code.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2334,7 +2334,7 @@ static int _check_udev_is_running(void)
|
|||||||
|
|
||||||
if (!(r = udev_queue_get_udev_is_active(udev_queue)))
|
if (!(r = udev_queue_get_udev_is_active(udev_queue)))
|
||||||
log_debug_activation("Udev is not running. "
|
log_debug_activation("Udev is not running. "
|
||||||
"Not using udev synchronisation code.");
|
"Not using udev synchronization code.");
|
||||||
|
|
||||||
udev_queue_unref(udev_queue);
|
udev_queue_unref(udev_queue);
|
||||||
udev_unref(udev);
|
udev_unref(udev);
|
||||||
|
@ -695,7 +695,7 @@
|
|||||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||||
#undef TM_IN_SYS_TIME
|
#undef TM_IN_SYS_TIME
|
||||||
|
|
||||||
/* Define to 1 to enable synchronisation with udev processing. */
|
/* Define to 1 to enable synchronization with udev processing. */
|
||||||
#undef UDEV_SYNC_SUPPORT
|
#undef UDEV_SYNC_SUPPORT
|
||||||
|
|
||||||
/* Enable a valgrind aware build of pool */
|
/* Enable a valgrind aware build of pool */
|
||||||
|
@ -1696,7 +1696,7 @@ cfg(activation_monitoring_CFG, "monitoring", activation_CFG_SECTION, CFG_DEFAULT
|
|||||||
cfg(activation_polling_interval_CFG, "polling_interval", activation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_INT, DEFAULT_INTERVAL, vsn(2, 2, 63), NULL, 0, NULL,
|
cfg(activation_polling_interval_CFG, "polling_interval", activation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_INT, DEFAULT_INTERVAL, vsn(2, 2, 63), NULL, 0, NULL,
|
||||||
"Check pvmove or lvconvert progress at this interval (seconds).\n"
|
"Check pvmove or lvconvert progress at this interval (seconds).\n"
|
||||||
"When pvmove or lvconvert must wait for the kernel to finish\n"
|
"When pvmove or lvconvert must wait for the kernel to finish\n"
|
||||||
"synchronising or merging data, they check and report progress at\n"
|
"synchronizing or merging data, they check and report progress at\n"
|
||||||
"intervals of this number of seconds. If this is set to 0 and there\n"
|
"intervals of this number of seconds. If this is set to 0 and there\n"
|
||||||
"is only one thing to wait for, there are no progress reports, but\n"
|
"is only one thing to wait for, there are no progress reports, but\n"
|
||||||
"the process is awoken immediately once the operation is complete.\n")
|
"the process is awoken immediately once the operation is complete.\n")
|
||||||
|
@ -9302,7 +9302,7 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
|
|||||||
init_mirror_in_sync(lp->nosync);
|
init_mirror_in_sync(lp->nosync);
|
||||||
|
|
||||||
if (lp->nosync) {
|
if (lp->nosync) {
|
||||||
log_warn("WARNING: New %s won't be synchronised. "
|
log_warn("WARNING: New %s won't be synchronized. "
|
||||||
"Don't read what you didn't write!",
|
"Don't read what you didn't write!",
|
||||||
lp->segtype->name);
|
lp->segtype->name);
|
||||||
status |= LV_NOTSYNCED;
|
status |= LV_NOTSYNCED;
|
||||||
|
@ -92,8 +92,8 @@ FIELD(LVS, lv, STR, "Move", lvid, 0, movepv, move_pv, "For pvmove, Source PV of
|
|||||||
FIELD(LVS, lv, STR, "Move UUID", lvid, 38, movepvuuid, move_pv_uuid, "For pvmove, the UUID of Source PV of temporary LV created by pvmove.", 0)
|
FIELD(LVS, lv, STR, "Move UUID", lvid, 38, movepvuuid, move_pv_uuid, "For pvmove, the UUID of Source PV of temporary LV created by pvmove.", 0)
|
||||||
FIELD(LVS, lv, STR, "Convert", lvid, 0, convertlv, convert_lv, "For lvconvert, Name of temporary LV created by lvconvert.", 0)
|
FIELD(LVS, lv, STR, "Convert", lvid, 0, convertlv, convert_lv, "For lvconvert, Name of temporary LV created by lvconvert.", 0)
|
||||||
FIELD(LVS, lv, STR, "Convert UUID", lvid, 38, convertlvuuid, convert_lv_uuid, "For lvconvert, UUID of temporary LV created by lvconvert.", 0)
|
FIELD(LVS, lv, STR, "Convert UUID", lvid, 38, convertlvuuid, convert_lv_uuid, "For lvconvert, UUID of temporary LV created by lvconvert.", 0)
|
||||||
FIELD(LVS, lv, STR, "Log", lvid, 0, loglv, mirror_log, "For mirrors, the LV holding the synchronisation log.", 0)
|
FIELD(LVS, lv, STR, "Log", lvid, 0, loglv, mirror_log, "For mirrors, the LV holding the synchronization log.", 0)
|
||||||
FIELD(LVS, lv, STR, "Log UUID", lvid, 38, loglvuuid, mirror_log_uuid, "For mirrors, the UUID of the LV holding the synchronisation log.", 0)
|
FIELD(LVS, lv, STR, "Log UUID", lvid, 38, loglvuuid, mirror_log_uuid, "For mirrors, the UUID of the LV holding the synchronization log.", 0)
|
||||||
FIELD(LVS, lv, STR, "Data", lvid, 0, datalv, data_lv, "For cache/thin/vdo pools, the LV holding the associated data.", 0)
|
FIELD(LVS, lv, STR, "Data", lvid, 0, datalv, data_lv, "For cache/thin/vdo pools, the LV holding the associated data.", 0)
|
||||||
FIELD(LVS, lv, STR, "Data UUID", lvid, 38, datalvuuid, data_lv_uuid, "For cache/thin/vdo pools, the UUID of the LV holding the associated data.", 0)
|
FIELD(LVS, lv, STR, "Data UUID", lvid, 38, datalvuuid, data_lv_uuid, "For cache/thin/vdo pools, the UUID of the LV holding the associated data.", 0)
|
||||||
FIELD(LVS, lv, STR, "Meta", lvid, 0, metadatalv, metadata_lv, "For cache/thin pools, the LV holding the associated metadata.", 0)
|
FIELD(LVS, lv, STR, "Meta", lvid, 0, metadatalv, metadata_lv, "For cache/thin pools, the LV holding the associated metadata.", 0)
|
||||||
|
@ -1779,7 +1779,7 @@ static int _set_up_udev_support(const char *dev_dir)
|
|||||||
* has not done its job correctly, e.g. the nodes were not created.
|
* has not done its job correctly, e.g. the nodes were not created.
|
||||||
* If using udev transactions by specifying existing cookie value,
|
* If using udev transactions by specifying existing cookie value,
|
||||||
* we need to disable node creation by libdevmapper completely,
|
* we need to disable node creation by libdevmapper completely,
|
||||||
* disabling any fallback actions, since any synchronisation happens
|
* disabling any fallback actions, since any synchronization happens
|
||||||
* at the end of the transaction only. We need to do this to prevent
|
* at the end of the transaction only. We need to do this to prevent
|
||||||
* races between udev and libdevmapper but only in case udev "dev path"
|
* races between udev and libdevmapper but only in case udev "dev path"
|
||||||
* is the same as "dev path" used by libdevmapper.
|
* is the same as "dev path" used by libdevmapper.
|
||||||
|
@ -1904,7 +1904,7 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
|
|||||||
/*
|
/*
|
||||||
* Prevent udev vs. libdevmapper race when processing nodes
|
* Prevent udev vs. libdevmapper race when processing nodes
|
||||||
* and symlinks. This can happen when the udev rules are
|
* and symlinks. This can happen when the udev rules are
|
||||||
* installed and udev synchronisation code is enabled in
|
* installed and udev synchronization code is enabled in
|
||||||
* libdevmapper but the software using libdevmapper does not
|
* libdevmapper but the software using libdevmapper does not
|
||||||
* make use of it (by not calling dm_task_set_cookie before).
|
* make use of it (by not calling dm_task_set_cookie before).
|
||||||
* We need to instruct the udev rules not to be applied at
|
* We need to instruct the udev rules not to be applied at
|
||||||
@ -1914,7 +1914,7 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
|
|||||||
if (!dmt->cookie_set && dm_udev_get_sync_support()) {
|
if (!dmt->cookie_set && dm_udev_get_sync_support()) {
|
||||||
log_debug_activation("Cookie value is not set while trying to call %s "
|
log_debug_activation("Cookie value is not set while trying to call %s "
|
||||||
"ioctl. Please, consider using libdevmapper's udev "
|
"ioctl. Please, consider using libdevmapper's udev "
|
||||||
"synchronisation interface or disable it explicitly "
|
"synchronization interface or disable it explicitly "
|
||||||
"by calling dm_udev_set_sync_support(0).",
|
"by calling dm_udev_set_sync_support(0).",
|
||||||
dmt->type == DM_DEVICE_RESUME ? "DM_DEVICE_RESUME" :
|
dmt->type == DM_DEVICE_RESUME ? "DM_DEVICE_RESUME" :
|
||||||
dmt->type == DM_DEVICE_REMOVE ? "DM_DEVICE_REMOVE" :
|
dmt->type == DM_DEVICE_REMOVE ? "DM_DEVICE_REMOVE" :
|
||||||
|
@ -3740,7 +3740,7 @@ struct dm_pool *dm_config_memory(struct dm_config_tree *cft);
|
|||||||
int dm_cookie_supported(void);
|
int dm_cookie_supported(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Udev synchronisation functions.
|
* Udev synchronization functions.
|
||||||
*/
|
*/
|
||||||
void dm_udev_set_sync_support(int sync_with_udev);
|
void dm_udev_set_sync_support(int sync_with_udev);
|
||||||
int dm_udev_get_sync_support(void);
|
int dm_udev_get_sync_support(void);
|
||||||
|
@ -2310,7 +2310,7 @@ static int _check_semaphore_is_supported(void)
|
|||||||
|
|
||||||
if (maxid < 0) {
|
if (maxid < 0) {
|
||||||
log_warn("Kernel not configured for semaphores (System V IPC). "
|
log_warn("Kernel not configured for semaphores (System V IPC). "
|
||||||
"Not using udev synchronisation code.");
|
"Not using udev synchronization code.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2333,7 +2333,7 @@ static int _check_udev_is_running(void)
|
|||||||
|
|
||||||
if (!(r = udev_queue_get_udev_is_active(udev_queue)))
|
if (!(r = udev_queue_get_udev_is_active(udev_queue)))
|
||||||
log_debug_activation("Udev is not running. "
|
log_debug_activation("Udev is not running. "
|
||||||
"Not using udev synchronisation code.");
|
"Not using udev synchronization code.");
|
||||||
|
|
||||||
udev_queue_unref(udev_queue);
|
udev_queue_unref(udev_queue);
|
||||||
udev_unref(udev);
|
udev_unref(udev);
|
||||||
|
@ -138,7 +138,7 @@ and placing a new file at the same path.
|
|||||||
.
|
.
|
||||||
.SH LIMITATIONS
|
.SH LIMITATIONS
|
||||||
.
|
.
|
||||||
The daemon attempts to maintain good synchronisation between the file
|
The daemon attempts to maintain good synchronization between the file
|
||||||
extents and the regions contained in the group, however, since the
|
extents and the regions contained in the group, however, since the
|
||||||
daemon can only react to new allocations once they have been written,
|
daemon can only react to new allocations once they have been written,
|
||||||
there are inevitably some IO events that cannot be counted when a
|
there are inevitably some IO events that cannot be counted when a
|
||||||
|
@ -533,7 +533,7 @@ Do not allow udev to manage nodes for devices in device-mapper directory.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B --noudevsync
|
.B --noudevsync
|
||||||
Do not synchronise with udev when creating, renaming or removing devices.
|
Do not synchronize with udev when creating, renaming or removing devices.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.BR -o | --options " " \fIoptions
|
.BR -o | --options " " \fIoptions
|
||||||
@ -570,7 +570,7 @@ See below for more information on the table format.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B --udevcookie \fIcookie
|
.B --udevcookie \fIcookie
|
||||||
Use cookie for udev synchronisation.
|
Use cookie for udev synchronization.
|
||||||
Note: Same cookie should be used for same type of operations i.e. creation of
|
Note: Same cookie should be used for same type of operations i.e. creation of
|
||||||
multiple different devices. It's not advised to combine different
|
multiple different devices. It's not advised to combine different
|
||||||
operations on the single device.
|
operations on the single device.
|
||||||
@ -589,7 +589,7 @@ Produce additional output.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B --verifyudev
|
.B --verifyudev
|
||||||
If udev synchronisation is enabled, verify that udev operations get performed
|
If udev synchronization is enabled, verify that udev operations get performed
|
||||||
correctly and try to fix up the device nodes afterwards if not.
|
correctly and try to fix up the device nodes afterwards if not.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
@ -851,7 +851,7 @@ and \fB--nomonitor\fP options for further information.
|
|||||||
.
|
.
|
||||||
.SS Limitations
|
.SS Limitations
|
||||||
.
|
.
|
||||||
The daemon attempts to maintain good synchronisation between the file
|
The daemon attempts to maintain good synchronization between the file
|
||||||
extents and the regions contained in the group, however, since it can
|
extents and the regions contained in the group, however, since it can
|
||||||
only react to new allocations once they have been written, there are
|
only react to new allocations once they have been written, there are
|
||||||
inevitably some IO events that cannot be counted when a file is
|
inevitably some IO events that cannot be counted when a file is
|
||||||
|
@ -764,7 +764,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -1315,7 +1315,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -1220,7 +1220,7 @@ and thus do not support initial synchronization.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -490,7 +490,7 @@ and thus do not support initial synchronization.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -259,7 +259,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -211,7 +211,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -182,7 +182,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -439,7 +439,7 @@ and thus do not support initial synchronization.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -278,7 +278,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -476,7 +476,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -713,7 +713,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -177,7 +177,7 @@ incorrect results.
|
|||||||
.HP
|
.HP
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
Disables udev synchronization. The process will not wait for notification
|
||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
|
@ -68,7 +68,7 @@ endif
|
|||||||
SHELL_PATH_SQ := $(subst ','\'',$(SHELL_PATH))
|
SHELL_PATH_SQ := $(subst ','\'',$(SHELL_PATH))
|
||||||
|
|
||||||
ifeq ("@UDEV_SYNC@", "yes")
|
ifeq ("@UDEV_SYNC@", "yes")
|
||||||
dm_udev_synchronisation = 1
|
dm_udev_synchronization = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: .tests-stamp
|
all: .tests-stamp
|
||||||
@ -287,7 +287,7 @@ lib/flavour-%: $(srcdir)/lib/flavour-%.sh .lib-dir-stamp
|
|||||||
|
|
||||||
lib/paths-common: $(srcdir)/Makefile.in Makefile .lib-dir-stamp
|
lib/paths-common: $(srcdir)/Makefile.in Makefile .lib-dir-stamp
|
||||||
$(SHOW) " [PATHS] $@"
|
$(SHOW) " [PATHS] $@"
|
||||||
$(Q) echo 'DM_UDEV_SYNCHRONISATION=$(dm_udev_synchronisation)' >> $@-t
|
$(Q) echo 'DM_UDEV_SYNCHRONIZATION=$(dm_udev_synchronization)' >> $@-t
|
||||||
$(Q) echo 'LVMPOLLD_PIDFILE="@LVMPOLLD_PIDFILE@"' >> $@-t
|
$(Q) echo 'LVMPOLLD_PIDFILE="@LVMPOLLD_PIDFILE@"' >> $@-t
|
||||||
$(Q) echo 'DMEVENTD_PIDFILE="@DMEVENTD_PIDFILE@"' >> $@-t
|
$(Q) echo 'DMEVENTD_PIDFILE="@DMEVENTD_PIDFILE@"' >> $@-t
|
||||||
$(Q) echo 'LVM_TEST_THIN_CHECK_CMD=$${LVM_TEST_THIN_CHECK_CMD-@THIN_CHECK_CMD@}' >> $@-t
|
$(Q) echo 'LVM_TEST_THIN_CHECK_CMD=$${LVM_TEST_THIN_CHECK_CMD-@THIN_CHECK_CMD@}' >> $@-t
|
||||||
@ -298,7 +298,7 @@ lib/paths-common: $(srcdir)/Makefile.in Makefile .lib-dir-stamp
|
|||||||
$(Q) echo 'LVM_TEST_CACHE_DUMP_CMD=$${LVM_TEST_CACHE_DUMP_CMD-@CACHE_DUMP_CMD@}' >> $@-t
|
$(Q) echo 'LVM_TEST_CACHE_DUMP_CMD=$${LVM_TEST_CACHE_DUMP_CMD-@CACHE_DUMP_CMD@}' >> $@-t
|
||||||
$(Q) echo 'LVM_TEST_CACHE_REPAIR_CMD=$${LVM_TEST_CACHE_REPAIR_CMD-@CACHE_REPAIR_CMD@}' >> $@-t
|
$(Q) echo 'LVM_TEST_CACHE_REPAIR_CMD=$${LVM_TEST_CACHE_REPAIR_CMD-@CACHE_REPAIR_CMD@}' >> $@-t
|
||||||
$(Q) echo 'LVM_TEST_CACHE_RESTORE_CMD=$${LVM_TEST_CACHE_RESTORE_CMD-@CACHE_RESTORE_CMD@}' >> $@-t
|
$(Q) echo 'LVM_TEST_CACHE_RESTORE_CMD=$${LVM_TEST_CACHE_RESTORE_CMD-@CACHE_RESTORE_CMD@}' >> $@-t
|
||||||
$(Q) echo 'export DM_UDEV_SYNCHRONISATION THIN RAID CACHE\' >> $@-t
|
$(Q) echo 'export DM_UDEV_SYNCHRONIZATION THIN RAID CACHE\' >> $@-t
|
||||||
$(Q) echo ' LVM_TEST_THIN_CHECK_CMD LVM_TEST_THIN_DUMP_CMD LVM_TEST_THIN_REPAIR_CMD LVM_TEST_THIN_RESTORE_CMD\' >> $@-t
|
$(Q) echo ' LVM_TEST_THIN_CHECK_CMD LVM_TEST_THIN_DUMP_CMD LVM_TEST_THIN_REPAIR_CMD LVM_TEST_THIN_RESTORE_CMD\' >> $@-t
|
||||||
$(Q) echo ' LVM_TEST_CACHE_CHECK_CMD LVM_TEST_CACHE_DUMP_CMD LVM_TEST_CACHE_REPAIR_CMD LVM_TEST_CACHE_RESTORE_CMD' >> $@-t
|
$(Q) echo ' LVM_TEST_CACHE_CHECK_CMD LVM_TEST_CACHE_DUMP_CMD LVM_TEST_CACHE_REPAIR_CMD LVM_TEST_CACHE_RESTORE_CMD' >> $@-t
|
||||||
$(Q) mv $@-t $@
|
$(Q) mv $@-t $@
|
||||||
|
@ -210,7 +210,7 @@ STACKTRACE() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init_udev_transaction() {
|
init_udev_transaction() {
|
||||||
if test "$DM_UDEV_SYNCHRONISATION" = 1; then
|
if test "$DM_UDEV_SYNCHRONIZATION" = 1; then
|
||||||
local cookie
|
local cookie
|
||||||
cookie=$(dmsetup udevcreatecookie)
|
cookie=$(dmsetup udevcreatecookie)
|
||||||
# Cookie is not generated if udev is not running!
|
# Cookie is not generated if udev is not running!
|
||||||
@ -219,14 +219,14 @@ init_udev_transaction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
finish_udev_transaction() {
|
finish_udev_transaction() {
|
||||||
if test "$DM_UDEV_SYNCHRONISATION" = 1 && test -n "${DM_UDEV_COOKIE-}" ; then
|
if test "$DM_UDEV_SYNCHRONIZATION" = 1 && test -n "${DM_UDEV_COOKIE-}" ; then
|
||||||
dmsetup udevreleasecookie || true
|
dmsetup udevreleasecookie || true
|
||||||
unset DM_UDEV_COOKIE
|
unset DM_UDEV_COOKIE
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown_udev_cookies() {
|
teardown_udev_cookies() {
|
||||||
if test "$DM_UDEV_SYNCHRONISATION" = 1; then
|
if test "$DM_UDEV_SYNCHRONIZATION" = 1; then
|
||||||
# Delete any cookies created more than 10 minutes ago
|
# Delete any cookies created more than 10 minutes ago
|
||||||
# and not used in the last 10 minutes.
|
# and not used in the last 10 minutes.
|
||||||
# Log only non-zero semaphores count
|
# Log only non-zero semaphores count
|
||||||
|
@ -26,7 +26,7 @@ check mirror_images_redundant $vg $lv1
|
|||||||
# 2-way mirror with disklog, 3 PVs
|
# 2-way mirror with disklog, 3 PVs
|
||||||
# lvcreate --nosync is in 100% sync after creation (bz429342)
|
# lvcreate --nosync is in 100% sync after creation (bz429342)
|
||||||
lvcreate -aey -l2 --type mirror -m1 --nosync -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1 2>&1 | tee out
|
lvcreate -aey -l2 --type mirror -m1 --nosync -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1 2>&1 | tee out
|
||||||
grep "New mirror won't be synchronised." out
|
grep "New mirror won't be synchronized." out
|
||||||
check lv_field $vg/$lv2 copy_percent "100.00"
|
check lv_field $vg/$lv2 copy_percent "100.00"
|
||||||
check mirror_images_redundant $vg $lv2
|
check mirror_images_redundant $vg $lv2
|
||||||
check mirror_log_on $vg $lv2 "$dev3"
|
check mirror_log_on $vg $lv2 "$dev3"
|
||||||
|
@ -565,7 +565,7 @@ arg(notifydbus_ARG, '\0', "notifydbus", 0, 0, 0,
|
|||||||
"notify_dbus config setting is disabled.\n")
|
"notify_dbus config setting is disabled.\n")
|
||||||
|
|
||||||
arg(noudevsync_ARG, '\0', "noudevsync", 0, 0, 0,
|
arg(noudevsync_ARG, '\0', "noudevsync", 0, 0, 0,
|
||||||
"Disables udev synchronisation. The process will not wait for notification\n"
|
"Disables udev synchronization. The process will not wait for notification\n"
|
||||||
"from udev. It will continue irrespective of any possible udev processing\n"
|
"from udev. It will continue irrespective of any possible udev processing\n"
|
||||||
"in the background. Only use this if udev is not running or has rules that\n"
|
"in the background. Only use this if udev is not running or has rules that\n"
|
||||||
"ignore the devices LVM creates.\n")
|
"ignore the devices LVM creates.\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user