Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
mdadm.5365
0062-Grow-only-warn-about-incompatible-metadata...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0062-Grow-only-warn-about-incompatible-metadata-when-no-f.patch of Package mdadm.5365
From dd243f561f86bee424a032abbe05b492ca9208b0 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.de> Date: Thu, 14 May 2015 11:17:39 +1000 Subject: [PATCH 082/359] Grow: only warn about incompatible metadata when no fallback available. References: bsc#1081910 We might be trying to set_new_data_offset() for RAID10, when it is a necessary requirement, or for RAID5 where it is optional. In the latter case, a message about metadata versions is no helpful. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Coly Li <colyli@suse.de> --- Grow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: mdadm-3.3.1/Grow.c =================================================================== --- mdadm-3.3.1.orig/Grow.c +++ mdadm-3.3.1/Grow.c @@ -2213,7 +2213,9 @@ static int set_new_data_offset(struct md if (info2.space_before == 0 && info2.space_after == 0) { /* Metadata doesn't support data_offset changes */ - pr_err("%s: Metadata version doesn't support data_offset changes\n", devname); + if (!can_fallback) + pr_err("%s: Metadata version doesn't support data_offset changes\n", + devname); goto fallback; } if (before > info2.space_before)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor