From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- .../lvm2/files/lvm2-2.03.05-example.conf.in.patch | 56 ---------------------- .../lvm2/files/lvm2-2.03.06-example.conf.in.patch | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 sys-fs/lvm2/files/lvm2-2.03.05-example.conf.in.patch create mode 100644 sys-fs/lvm2/files/lvm2-2.03.06-example.conf.in.patch (limited to 'sys-fs/lvm2/files') diff --git a/sys-fs/lvm2/files/lvm2-2.03.05-example.conf.in.patch b/sys-fs/lvm2/files/lvm2-2.03.05-example.conf.in.patch deleted file mode 100644 index a79250b8b4fd..000000000000 --- a/sys-fs/lvm2/files/lvm2-2.03.05-example.conf.in.patch +++ /dev/null @@ -1,56 +0,0 @@ -From d5755288f23fdeaca4c6d317583f5f119ea8801c Mon Sep 17 00:00:00 2001 -From: "Robin H. Johnson" -Date: Wed, 24 Jul 2019 11:01:03 +0200 -Subject: [PATCH] Add Gentoo specific changes - -Forward-ported from 2.02.178 to 2.03.05 -Signed-off-by: Lars Wendler ---- - conf/example.conf.in | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/conf/example.conf.in b/conf/example.conf.in -index 154f621bcf..83124ddea3 100644 ---- a/conf/example.conf.in -+++ b/conf/example.conf.in -@@ -143,6 +143,9 @@ devices { - # Example - # Accept every block device: - # filter = [ "a|.*/|" ] -+ # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel -+ # noise when you probed while not available. -+ filter = [ "r|/dev/nbd.*|", "a/.*/" ] - # Reject the cdrom drive: - # filter = [ "r|/dev/cdrom|" ] - # Work with just loopback devices, e.g. for testing: -@@ -1677,7 +1680,7 @@ activation { - - # Configuration section metadata. - # This configuration section has an automatic default value. --# metadata { -+metadata { - - # Configuration option metadata/check_pv_device_sizes. - # Check device sizes are not smaller than corresponding PV sizes. -@@ -1722,7 +1725,8 @@ activation { - # - # This configuration option is advanced. - # This configuration option has an automatic default value. -- # pvmetadatacopies = 1 -+ # Gentoo: enable for data safety, but PV resize is then disabled. -+ # pvmetadatacopies = 2 - - # Configuration option metadata/vgmetadatacopies. - # Number of copies of metadata to maintain for each VG. -@@ -1766,7 +1770,7 @@ activation { - # This configuration option is advanced. - # This configuration option has an automatic default value. - # stripesize = 64 --# } -+} - - # Configuration section report. - # LVM report command output formatting. --- -2.22.0 - diff --git a/sys-fs/lvm2/files/lvm2-2.03.06-example.conf.in.patch b/sys-fs/lvm2/files/lvm2-2.03.06-example.conf.in.patch new file mode 100644 index 000000000000..329bfde6ca91 --- /dev/null +++ b/sys-fs/lvm2/files/lvm2-2.03.06-example.conf.in.patch @@ -0,0 +1,56 @@ +From a26cc1e7e299b61d1877ead03aacafef9fbe81ff Mon Sep 17 00:00:00 2001 +From: "Robin H. Johnson" +Date: Fri, 25 Oct 2019 08:45:17 +0200 +Subject: [PATCH] Add Gentoo specific changes + +Forward-ported from 2.03.05 to 2.03.06 +Signed-off-by: Lars Wendler +--- + conf/example.conf.in | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/conf/example.conf.in b/conf/example.conf.in +index 05b0857920..33ffb0097c 100644 +--- a/conf/example.conf.in ++++ b/conf/example.conf.in +@@ -143,6 +143,9 @@ devices { + # Example + # Accept every block device: + # filter = [ "a|.*|" ] ++ # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel ++ # noise when you probed while not available. ++ filter = [ "r|/dev/nbd.*|", "a|.*|" ] + # Reject the cdrom drive: + # filter = [ "r|/dev/cdrom|" ] + # Work with just loopback devices, e.g. for testing: +@@ -1680,7 +1683,7 @@ activation { + + # Configuration section metadata. + # This configuration section has an automatic default value. +-# metadata { ++metadata { + + # Configuration option metadata/check_pv_device_sizes. + # Check device sizes are not smaller than corresponding PV sizes. +@@ -1725,7 +1728,8 @@ activation { + # + # This configuration option is advanced. + # This configuration option has an automatic default value. +- # pvmetadatacopies = 1 ++ # Gentoo: enable for data safety, but PV resize is then disabled. ++ # pvmetadatacopies = 2 + + # Configuration option metadata/vgmetadatacopies. + # Number of copies of metadata to maintain for each VG. +@@ -1768,7 +1772,7 @@ activation { + # This configuration option is advanced. + # This configuration option has an automatic default value. + # stripesize = 64 +-# } ++} + + # Configuration section report. + # LVM report command output formatting. +-- +2.24.0.rc1 + -- cgit v1.2.3