Home
last modified time | relevance | path

Searched refs:chunksect (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Draid0.c748 int chunksect; in raid0_takeover_raid1() local
763 chunksect = 64 * 2; /* 64K by default */ in raid0_takeover_raid1()
766 while (chunksect && (mddev->array_sectors & (chunksect - 1))) in raid0_takeover_raid1()
767 chunksect >>= 1; in raid0_takeover_raid1()
769 if ((chunksect << 9) < PAGE_SIZE) in raid0_takeover_raid1()
776 mddev->new_chunk_sectors = chunksect; in raid0_takeover_raid1()
777 mddev->chunk_sectors = chunksect; in raid0_takeover_raid1()
Draid5.c8441 int chunksect; in raid5_takeover_raid1() local
8450 chunksect = 64*2; /* 64K by default */ in raid5_takeover_raid1()
8453 while (chunksect && (mddev->array_sectors & (chunksect-1))) in raid5_takeover_raid1()
8454 chunksect >>= 1; in raid5_takeover_raid1()
8456 if ((chunksect<<9) < RAID5_STRIPE_SIZE((struct r5conf *)mddev->private)) in raid5_takeover_raid1()
8462 mddev->new_chunk_sectors = chunksect; in raid5_takeover_raid1()