Accepting request 706184 from home:hmzhao:branches:openSUSE:Factory
- Fix devices drop open error message (bsc#1122666) + bug-1122666_devices-drop-open-error-message.patch - Fix devices drop open error message (bsc#1122666) + bug-1122666_devices-drop-open-error-message.patch - Fix devices drop open error message (bsc#1122666) + bug-1122666_devices-drop-open-error-message.patch OBS-URL: https://build.opensuse.org/request/show/706184 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=240
This commit is contained in:
parent
aac4babd44
commit
8686071c7f
31
bug-1122666_devices-drop-open-error-message.patch
Normal file
31
bug-1122666_devices-drop-open-error-message.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 559cf0cd1e226baf63a98c39572264fbf5c3f6b4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Teigland <teigland@redhat.com>
|
||||||
|
Date: Tue, 23 Apr 2019 09:39:42 -0500
|
||||||
|
Subject: [PATCH] devices: drop open error message
|
||||||
|
|
||||||
|
This open error is being printed in more common,
|
||||||
|
non-error circumstances than expected. After a
|
||||||
|
number of complaints make it only a debug message.
|
||||||
|
---
|
||||||
|
lib/device/dev-io.c | 5 +----
|
||||||
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/device/dev-io.c b/lib/device/dev-io.c
|
||||||
|
index 2a83a9657..6996a44dc 100644
|
||||||
|
--- a/lib/device/dev-io.c
|
||||||
|
+++ b/lib/device/dev-io.c
|
||||||
|
@@ -572,10 +572,7 @@ int dev_open_flags(struct device *dev, int flags, int direct, int quiet)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- if (quiet)
|
||||||
|
- log_sys_debug("open", name);
|
||||||
|
- else
|
||||||
|
- log_sys_error("open", name);
|
||||||
|
+ log_sys_debug("open", name);
|
||||||
|
|
||||||
|
dev->flags |= DEV_OPEN_FAILURE;
|
||||||
|
return 0;
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 10:20:05 UTC 2019 - ghe@suse.com
|
||||||
|
|
||||||
|
- Fix devices drop open error message (bsc#1122666)
|
||||||
|
+ bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
### COMMON-PATCH-BEGIN ###
|
### COMMON-PATCH-BEGIN ###
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
||||||
|
Patch0002: bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
# SUSE patches: 1000+ for LVM
|
# SUSE patches: 1000+ for LVM
|
||||||
# Never upstream
|
# Never upstream
|
||||||
@ -72,6 +73,7 @@ Programs and man pages for configuring and using the device mapper.
|
|||||||
%setup -q -n LVM2.%{lvm2_version}
|
%setup -q -n LVM2.%{lvm2_version}
|
||||||
### COMMON-PREP-BEGIN ###
|
### COMMON-PREP-BEGIN ###
|
||||||
%patch0001 -p1
|
%patch0001 -p1
|
||||||
|
%patch0002 -p1
|
||||||
%patch1001 -p1
|
%patch1001 -p1
|
||||||
%patch1002 -p1
|
%patch1002 -p1
|
||||||
%patch1003 -p1
|
%patch1003 -p1
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 10:20:05 UTC 2019 - ghe@suse.com
|
||||||
|
|
||||||
|
- Fix devices drop open error message (bsc#1122666)
|
||||||
|
+ bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ Provides: cmirrord = %{version}
|
|||||||
### COMMON-PATCH-BEGIN ###
|
### COMMON-PATCH-BEGIN ###
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
||||||
|
Patch0002: bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
# SUSE patches: 1000+ for LVM
|
# SUSE patches: 1000+ for LVM
|
||||||
# Never upstream
|
# Never upstream
|
||||||
@ -84,6 +85,7 @@ A daemon for using LVM2 Logival Volumes in a clustered environment.
|
|||||||
|
|
||||||
### COMMON-PREP-BEGIN ###
|
### COMMON-PREP-BEGIN ###
|
||||||
%patch0001 -p1
|
%patch0001 -p1
|
||||||
|
%patch0002 -p1
|
||||||
%patch1001 -p1
|
%patch1001 -p1
|
||||||
%patch1002 -p1
|
%patch1002 -p1
|
||||||
%patch1003 -p1
|
%patch1003 -p1
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 10:20:05 UTC 2019 - ghe@suse.com
|
||||||
|
|
||||||
|
- Fix devices drop open error message (bsc#1122666)
|
||||||
|
+ bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Tue Mar 19 12:02:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
### COMMON-PATCH-BEGIN ###
|
### COMMON-PATCH-BEGIN ###
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
Patch0001: bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
|
||||||
|
Patch0002: bug-1122666_devices-drop-open-error-message.patch
|
||||||
|
|
||||||
# SUSE patches: 1000+ for LVM
|
# SUSE patches: 1000+ for LVM
|
||||||
# Never upstream
|
# Never upstream
|
||||||
@ -92,6 +93,7 @@ Volume Manager.
|
|||||||
%setup -q -n LVM2.%{version}
|
%setup -q -n LVM2.%{version}
|
||||||
### COMMON-PREP-BEGIN ###
|
### COMMON-PREP-BEGIN ###
|
||||||
%patch0001 -p1
|
%patch0001 -p1
|
||||||
|
%patch0002 -p1
|
||||||
%patch1001 -p1
|
%patch1001 -p1
|
||||||
%patch1002 -p1
|
%patch1002 -p1
|
||||||
%patch1003 -p1
|
%patch1003 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user