commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1855] 2008-09-04 Felix Zielcke <address@hidden>


From: Felix Zielcke
Subject: [1855] 2008-09-04 Felix Zielcke <address@hidden>
Date: Sat, 06 Sep 2008 13:56:15 +0000

Revision: 1855
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1855
Author:   fzielcke
Date:     2008-09-06 13:56:15 +0000 (Sat, 06 Sep 2008)

Log Message:
-----------
2008-09-04  Felix Zielcke  <address@hidden>

        * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
        RAID level 1.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/raid.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2008-09-06 11:18:06 UTC (rev 1854)
+++ trunk/grub2/ChangeLog       2008-09-06 13:56:15 UTC (rev 1855)
@@ -1,5 +1,10 @@
 2008-09-06  Felix Zielcke  <address@hidden>
 
+       * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
+       RAID level 1.
+
+2008-09-06  Felix Zielcke  <address@hidden>
+
        * fs/iso9660.c (grub_iso9660_date): New structure.
        (grub_iso9660_primary_voldesc): Add `grub_iso9660_date' member.
        (grub_iso9660_uuid): New function.

Modified: trunk/grub2/disk/raid.c
===================================================================
--- trunk/grub2/disk/raid.c     2008-09-06 11:18:06 UTC (rev 1854)
+++ trunk/grub2/disk/raid.c     2008-09-06 13:56:15 UTC (rev 1855)
@@ -575,6 +575,11 @@
       /* Add our new array to the list.  */
       array->next = array_list;
       array_list = array;
+
+      /* RAID 1 doestn't use a chunksize but code assumes one so set
+        one. */
+      if (array->level == 1)
+       array->chunk_size = 64;
     }
 
   /* Add the device to the array. */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]