mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository
https://sourceware.org/lvm2/
a820a68619
cookie_set variable found in the struct dm_task should be always set to 1 after dm_task_set_cookie_call, even if udev_sync is disabled as the cookie itself carries synchronization informations *as well as* extra flags to control other aspects of udev support. For example, one could disable the synchronization itself, but still direct the libdm code to disable library fallback via DM_UDEV_DISABLE_LIBRARY_FALLBACK flag. These extra flags still need to be carried out! A concrete example: $ dmsetup create test --table "0 1 zero" --noudevsync This disables synchronization with udev. As the --verifyudev option is not used, we don't want to do any corrections. In other words, we need DM_UDEV_DISABLE_LIBRARY_FALLBACK flag to be used. However, with --noudevsync this was not the case - the flag was ignored! This patch fixes the case when noudevsync is used but there are still some extra flags passed within the cookie flag part. The synchronization part of the cookie stays zero (which is ok as dm_udev_wait call on such a cookie is simply a NOOP). |
||
---|---|---|
autoconf | ||
daemons | ||
doc | ||
include | ||
lib | ||
libdaemon | ||
libdm | ||
liblvm | ||
man | ||
old-tests | ||
po | ||
python | ||
report-generators | ||
reports | ||
scripts | ||
test | ||
tools | ||
udev | ||
unit-tests | ||
.gitignore | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
COPYING | ||
COPYING.LIB | ||
INSTALL | ||
make.tmpl.in | ||
Makefile.in | ||
README | ||
VERSION | ||
VERSION_DM | ||
WHATS_NEW | ||
WHATS_NEW_DM |
This tree contains the LVM2 and device-mapper tools and libraries. For more information about LVM2 read the changelog in the WHATS_NEW file. Installation instructions are in INSTALL. There is no warranty - see COPYING and COPYING.LIB. Tarballs are available from: ftp://sources.redhat.com/pub/lvm2/ The source code is stored in git: http://git.fedorahosted.org/git/lvm2.git git clone git://git.fedorahosted.org/git/lvm2.git Mailing list for general discussion related to LVM2: linux-lvm@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm Mailing lists for LVM2 development, patches and commits: lvm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm lvm2-commits@lists.fedorahosted.org (Read-only archive of commits) Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits Mailing list for device-mapper development, including kernel patches and multipath-tools: dm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel The source code repository used until 7th June 2012 is accessible here: http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.