[Dmraid-debian-commits] [SCM] Maintenance of the dmraid package branch, master, updated. debian/1.0.0.rc16-1-4-g3bea125
Giuseppe Iuculano
iuculano at debian.org
Wed Dec 23 13:21:57 UTC 2009
The following commit has been merged in the master branch:
commit 3bea125d3b94ee0e70f3ccd69168cd9f32c2007e
Author: Giuseppe Iuculano <iuculano at debian.org>
Date: Wed Dec 23 14:21:00 2009 +0100
debian/patches/20_fix_isw_sectors_calculation.patch: Fix isw raid0 incorrect sectors calculation
Closes: #561866
Thanks: Valentin Pavlyuchenko
diff --git a/debian/patches/20_fix_isw_sectors_calculation.patch b/debian/patches/20_fix_isw_sectors_calculation.patch
new file mode 100644
index 0000000..dbf5d9f
--- /dev/null
+++ b/debian/patches/20_fix_isw_sectors_calculation.patch
@@ -0,0 +1,14 @@
+Fix isw raid0 incorrect sectors calculation, thanks to Valentin Pavlyuchenko
+--- a/1.0.0.rc16/lib/format/ataraid/isw.c
++++ b/1.0.0.rc16/lib/format/ataraid/isw.c
+@@ -776,7 +776,9 @@ _create_rd(struct lib_context *lc,
+ r->di = rd->di;
+ r->fmt = rd->fmt;
+ r->offset = dev->vol.map[0].pba_of_lba0;
+- if ((r->sectors = dev->vol.map[0].blocks_per_member - RAID_DS_JOURNAL))
++ //fix bugs on ICH10R
++ //if ((r->sectors = dev->vol.map[0].blocks_per_member - RAID_DS_JOURNAL))
++ if ((r->sectors = dev->vol.map[0].blocks_per_member))
+ goto out;
+
+ log_zero_sectors(lc, rd->di->path, handler);
diff --git a/debian/patches/series b/debian/patches/series
index 1835ab8..e273c74 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
15_activate_multiple_raid_sets.patch
18_pdc_raid10_failure..patch
19_ddf1_lsi_persistent_name.patch
+20_fix_isw_sectors_calculation.patch
--
Maintenance of the dmraid package
More information about the Dmraid-debian-commits
mailing list