* disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
RAID level 1.
+2008-09-06 Felix Zielcke <fzielcke@z-51.de>
+
+ * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
+ RAID level 1.
+
2008-09-06 Felix Zielcke <fzielcke@z-51.de>
* fs/iso9660.c (grub_iso9660_date): New structure.
/* 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. */