Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit kdump for openSUSE:Factory
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked
in at 2019-04-18 13:55:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
and /work/SRC/openSUSE:Factory/.kdump.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdump"

Thu Apr 18 13:55:47 2019 rev:104 rq:694774 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2019-03-22
14:55:22.518024740 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.5536/kdump.changes 2019-04-18
13:55:51.611944272 +0200
@@ -1,0 +2,6 @@
+Tue Apr 16 09:12:51 UTC 2019 - ptesarik@xxxxxxxx
+
+- kdump-Add-skip_balance-option-to-BTRFS-mounts.patch: Add
+ skip_balance option to BTRFS mounts (bsc#1108255).
+
+-------------------------------------------------------------------

New:
----
kdump-Add-skip_balance-option-to-BTRFS-mounts.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.D2XPmg/_old 2019-04-18 13:55:54.975945362 +0200
+++ /var/tmp/diff_new_pack.D2XPmg/_new 2019-04-18 13:55:54.975945362 +0200
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


@@ -60,6 +60,7 @@
Patch12: %{name}-fallback-re-register-fadump-from-userspace.patch
Patch13: %{name}-recover-from-missing-CRASHTIME.patch
Patch14: %{name}-fix-multipath-user_friendly_names.patch
+Patch15: %{name}-Add-skip_balance-option-to-BTRFS-mounts.patch
BuildRequires: asciidoc
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -131,6 +132,7 @@
%patch12 -p1
%patch13 -p1
%patch14 -p1
+%patch15 -p1

%build
export CFLAGS="%{optflags}"

++++++ kdump-Add-skip_balance-option-to-BTRFS-mounts.patch ++++++
From f46c26fcf879f368726acf650c43eacde909dc9d Mon Sep 17 00:00:00 2001
From: Petr Tesarik <ptesarik@xxxxxxxx>
Date: Tue, 16 Apr 2019 11:05:18 +0200
Subject: Add skip_balance option to BTRFS mounts
References: bsc#1108255
Upstream: merged
Git-commit: f46c26fcf879f368726acf650c43eacde909dc9d

If a crash happens while a balance operation is being performed on a
target btrfs filesystem, then this balance operation is resumed in
the kdump environment, which is not desirable. Skip it by adding a
'skip_balance' mount option to the kdump initrd.

Signed-off-by: Petr Tesarik <ptesarik@xxxxxxxx>
---
init/setup-kdump.functions | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/init/setup-kdump.functions b/init/setup-kdump.functions
index 46b2902..9ff5efc 100644
--- a/init/setup-kdump.functions
+++ b/init/setup-kdump.functions
@@ -764,6 +764,10 @@ function kdump_update_mount()
# {{{
mountpoint="/kdump/mnt$i/${mountpoint#/kdump/mnt*/}"
done

+ if [ "$fstype" = "btrfs" ] ; then
+ opts="$opts,skip_balance"
+ fi
+
kdump_mnt[i]="${mountpoint%/}"
kdump_dev[i]="$device"
kdump_fstype[i]="$fstype"
--
2.16.4


< Previous Next >
This Thread
  • No further messages