2008-09-04 Felix Zielcke <fzielcke@z-51.de>

* disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
        RAID level 1.
This commit is contained in:
fzielcke 2008-09-06 13:56:15 +00:00
parent 6bcd8ee530
commit e8a83df664
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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.

View file

@ -575,6 +575,11 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
/* 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. */