Hello community, here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2019-10-22 15:43:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lvm2 (Old) and /work/SRC/openSUSE:Factory/.lvm2.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2" Tue Oct 22 15:43:26 2019 rev:128 rq:741460 version:2.03.05 Changes: -------- --- /work/SRC/openSUSE:Factory/lvm2/lvm2.changes 2019-10-05 16:15:01.518262146 +0200 +++ /work/SRC/openSUSE:Factory/.lvm2.new.2352/lvm2.changes 2019-10-22 15:43:28.993582519 +0200 @@ -1,0 +2,6 @@ +Mon Oct 21 07:59:33 UTC 2019 - heming.z...@suse.com + +- lvm2-pvscan needs process speed improvement on a large scale PVs (jcs#SLE-5498) + + jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch + +------------------------------------------------------------------- New: ---- jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.dItezj/_old 2019-10-22 15:43:29.965583626 +0200 +++ /var/tmp/diff_new_pack.dItezj/_new 2019-10-22 15:43:29.969583630 +0200 @@ -60,6 +60,7 @@ Patch0003: bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size.patch Patch0004: bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch Patch0005: bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch +Patch0006: jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch # SUSE patches: 1000+ for LVM # Never upstream Patch1001: cmirrord_remove_date_time_from_compilation.patch @@ -119,6 +120,7 @@ %patch0003 -p1 %patch0004 -p1 %patch0005 -p1 +%patch0006 -p1 %patch1001 -p1 %patch1002 -p1 %patch1003 -p1 ++++++ jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch ++++++ >From 3e5e7fd6c93517278b2451a08f47e16d052babbb Mon Sep 17 00:00:00 2001 From: David Teigland <teigl...@redhat.com> Date: Tue, 10 Sep 2019 09:47:33 -0500 Subject: [PATCH] pvscan: allow use of noudevsync option When pvscan is used to activate a VG via an asynchronous service (i.e. lvm2-pvscan), there is no requirement that the command wait for udev to create device nodes before returning. It's possible that waiting for udev is slow enough to cause the service running the command to time out. So, allow the --noudevsync option to be given to pvscan to skip waiting for udev. (This commit is not changing the lvm2-pvscan service itself to use --noudevsync.) Still unknown is whether there are any complex LV activation cases in which lvm itself requires access to a device node, in which case the udev wait could be needed by lvm itself. (When running an activation command directly from the command line, it's generally expected that the activated LVs are ready to use when the command is finished, so lvm waits for udev to finish creating the dev nodes.) --- tools/command-lines.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/command-lines.in b/tools/command-lines.in index 1169224792..65221c0d1a 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -1498,7 +1498,7 @@ DESC: Display PV information. pvscan --cache_long OO: --ignorelockingfailure, --reportformat ReportFmt, ---activate ay, --major Number, --minor Number +--activate ay, --major Number, --minor Number, --noudevsync OP: PV|String ... IO: --background ID: pvscan_cache -- 2.21.0