Searched refs:chunksect (Results 1 – 2 of 2) sorted by relevance
697 int chunksect; in raid0_takeover_raid1() local712 chunksect = 64 * 2; /* 64K by default */ in raid0_takeover_raid1()715 while (chunksect && (mddev->array_sectors & (chunksect - 1))) in raid0_takeover_raid1()716 chunksect >>= 1; in raid0_takeover_raid1()718 if ((chunksect << 9) < PAGE_SIZE) in raid0_takeover_raid1()725 mddev->new_chunk_sectors = chunksect; in raid0_takeover_raid1()726 mddev->chunk_sectors = chunksect; in raid0_takeover_raid1()
8098 int chunksect; in raid5_takeover_raid1() local8107 chunksect = 64*2; /* 64K by default */ in raid5_takeover_raid1()8110 while (chunksect && (mddev->array_sectors & (chunksect-1))) in raid5_takeover_raid1()8111 chunksect >>= 1; in raid5_takeover_raid1()8113 if ((chunksect<<9) < STRIPE_SIZE) in raid5_takeover_raid1()8119 mddev->new_chunk_sectors = chunksect; in raid5_takeover_raid1()