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:
parent
6bcd8ee530
commit
e8a83df664
2 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue