Searched refs:chunksect (Results 1 – 2 of 2) sorted by relevance
748 int chunksect; in raid0_takeover_raid1() local763 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()
8441 int chunksect; in raid5_takeover_raid1() local8450 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()