master - refactor: move and rename _dev_is_mpath_component in lvmetad.c to udev_dev_is_mpath_component in dev-type.c
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5d323c37f3e0324e2599cb98dbb2969cffa41805 Commit: 5d323c37f3e0324e2599cb98dbb2969cffa41805 Parent: 29d03175574580424b634ac677336dbf8d14d9dd Author: Peter Rajnoha <[email protected]> AuthorDate: Mon Sep 5 12:13:10 2016 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Mon Sep 5 12:55:25 2016 +0200
refactor: move and rename _dev_is_mpath_component in lvmetad.c to udev_dev_is_mpath_component in dev-type.c
--- WHATS_NEW | 1 + lib/cache/lvmetad.c | 64 +---------------------------------------------- lib/device/dev-type.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/device/dev-type.h | 1 + 4 files changed, 69 insertions(+), 63 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.165 - =================================== + Use udev db to check for mpath components before running pvscan for lvmetad. Use lsblk -s and lsblk -O in lvmdump only if these options are supported. Fix number of stripes shown in lvcreate raid10 message when too many. Do not monitor cache-pool metadata when LV is just being cleared.
lib/cache/lvmetad.c +1 -63
79 lines not on this page · raw message
lib/device/dev-type.c +66 -0
69 lines not on this page · raw message
lib/device/dev-type.h +1 -0
@@ -59,6 +59,7 @@ int dev_is_md(struct device *dev, uint64_t *sb);int dev_is_swap (struct device *dev,uint64_t *signature);int dev_is_luks (struct device *dev,uint64_t *signature);int dasd_is_cdl_formatted (struct device *dev); +int udev_dev_is_mpath_component (struct device *dev);/* Signature wiping. */ #define TYPE_LVM1_MEMBER 0x001