[pve-devel] [PATCH v3 lvm] fix #2184: filter lvs from guests
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Jul 12 10:02:59 CEST 2019
On Thu, Jul 11, 2019 at 07:52:03PM +0200, Oguz Bektas wrote:
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
> ...1-filter-zvols-and-PVE-VG-by-default.patch | 30 -
> ...001-filter-zvols-and-lvs-from-guests.patch | 2226 +++++++++++++++++
that does not look right ;)
> ...002-enable-issue_discards-by-default.patch | 11 +-
> ....patch => 0003-disable-init-scripts.patch} | 14 +-
> ...-do-not-overwrite-ID_MODEL-in-69-dm-.patch | 54 +
> patchdir/series | 6 +-
> ...te-ID_MODEL-in-69-dm-lvm-metad.rules.patch | 181 --
> 7 files changed, 2293 insertions(+), 229 deletions(-)
> delete mode 100644 patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch
> create mode 100644 patchdir/0001-filter-zvols-and-lvs-from-guests.patch
> rename patchdir/{0006-disable-init-scripts.patch => 0003-disable-init-scripts.patch} (74%)
> create mode 100644 patchdir/0004-stable-2.02-udev-do-not-overwrite-ID_MODEL-in-69-dm-.patch
> delete mode 100644 patchdir/udev-do-not-overwrite-ID_MODEL-in-69-dm-lvm-metad.rules.patch
>
> diff --git a/patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch b/patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch
> deleted file mode 100644
> index 5ebe494..0000000
> --- a/patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -From 65e9206964c546842ccd8cc8c7885b4feb66c429 Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler at proxmox.com>
> -Date: Fri, 17 Mar 2017 11:59:25 +0100
> -Subject: [PATCH 1/6] filter zvols and PVE VG by default
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ----
> - conf/example.conf.in | 3 +++
> - 1 file changed, 3 insertions(+)
> -
> -diff --git a/conf/example.conf.in b/conf/example.conf.in
> -index 736b4bd..1a8a67b 100644
> ---- a/conf/example.conf.in
> -+++ b/conf/example.conf.in
> -@@ -125,6 +125,9 @@ devices {
> - # Run vgscan after changing the filter to regenerate the cache.
> - # See the use_lvmetad comment for a special case regarding filters.
> - #
> -+ # Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
> -+ global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
> -+
> - # Example
> - # Accept every block device:
> - # filter = [ "a|.*/|" ]
> ---
> -2.14.1
> -
> diff --git a/patchdir/0001-filter-zvols-and-lvs-from-guests.patch b/patchdir/0001-filter-zvols-and-lvs-from-guests.patch
> new file mode 100644
> index 0000000..8ac1f3c
> --- /dev/null
> +++ b/patchdir/0001-filter-zvols-and-lvs-from-guests.patch
> @@ -0,0 +1,2226 @@
> +From 832083ea5fe0841d0102488ca9a8357cdf5f6f79 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler at proxmox.com>
> +Date: Fri, 17 Mar 2017 11:59:25 +0100
> +Subject: [PATCH] filter zvols and lvs from guests
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> +Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> +---
> + conf/example.conf.in | 4 +
> + conf/example.conf.in.orig | 2189 +++++++++++++++++++++++++++++++++++++
and this is why..
More information about the pve-devel
mailing list