View Issue Details

IDProjectCategoryView StatusLast Update
0000618bareos-corestorage daemonpublic2019-12-18 15:25
Reportermatt01 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version15.2.2 
Summary0000618: rados stripe unit and stripe count settings are not being read correctly
Descriptionrados SD configuration options stripe_unit= and stripe_count= are not read correctly and as a result rados_device.c always attempts to use values of 0
TagsNo tags attached.

Activities

matt01

matt01

2016-02-10 23:45

reporter  

0001-stripe-unit-and-count-were-not-being-read-correctly.patch (932 bytes)   
From b5bb75b045ba6f3f4890a58de82110bfd6b90c12 Mon Sep 17 00:00:00 2001
From: mr245 <mr245@bath.ac.uk>
Date: Wed, 10 Feb 2016 22:36:27 +0000
Subject: [PATCH] stripe unit and count were not being read correctly

---
 src/stored/backends/rados_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stored/backends/rados_device.c b/src/stored/backends/rados_device.c
index cee871d..092ff88 100644
--- a/src/stored/backends/rados_device.c
+++ b/src/stored/backends/rados_device.c
@@ -54,8 +54,8 @@ static device_option device_options[] = {
    { "poolname=", argument_poolname, 9 },
 #ifdef HAVE_RADOS_STRIPER
    { "striped", argument_striped, 7 },
-   { "stripe_unit=", argument_stripe_unit, 11 },
-   { "stripe_count=", argument_stripe_count, 12 },
+   { "stripe_unit=", argument_stripe_unit, 12 },
+   { "stripe_count=", argument_stripe_count, 13 },
 #endif
    { NULL, argument_none }
 };
-- 
2.4.10

mvwieringen

mvwieringen

2016-02-12 21:37

developer   ~0002195

Fix committed to bareos master branch with changesetid 6133.

Related Changesets

bareos: master 48d5b786

2016-02-11 00:36

mr245


Committer: mvwieringen

Ported: N/A

Details Diff
ceph: Stripe unit and count were not being read correctly

Fixes 0000618: rados stripe unit and stripe count settings are
not being read correctly
Affected Issues
0000618
mod - src/stored/backends/rados_device.c Diff File

Issue History

Date Modified Username Field Change
2016-02-10 23:45 matt01 New Issue
2016-02-10 23:45 matt01 File Added: 0001-stripe-unit-and-count-were-not-being-read-correctly.patch
2016-02-12 21:37 mvwieringen Changeset attached => bareos master 48d5b786
2016-02-12 21:37 mvwieringen Note Added: 0002195
2016-02-12 21:37 mvwieringen Status new => resolved
2016-02-12 21:37 mvwieringen Resolution open => fixed
2019-12-18 15:25 arogge Status resolved => closed