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

/linux-4.1.27/drivers/md/
H A Draid0.c640 int chunksect; raid0_takeover_raid1() local
655 chunksect = 64 * 2; /* 64K by default */ raid0_takeover_raid1()
658 while (chunksect && (mddev->array_sectors & (chunksect - 1))) raid0_takeover_raid1()
659 chunksect >>= 1; raid0_takeover_raid1()
661 if ((chunksect << 9) < PAGE_SIZE) raid0_takeover_raid1()
668 mddev->new_chunk_sectors = chunksect; raid0_takeover_raid1()
669 mddev->chunk_sectors = chunksect; raid0_takeover_raid1()
H A Draid5.c7558 int chunksect; raid5_takeover_raid1() local
7566 chunksect = 64*2; /* 64K by default */ raid5_takeover_raid1()
7569 while (chunksect && (mddev->array_sectors & (chunksect-1))) raid5_takeover_raid1()
7570 chunksect >>= 1; raid5_takeover_raid1()
7572 if ((chunksect<<9) < STRIPE_SIZE) raid5_takeover_raid1()
7578 mddev->new_chunk_sectors = chunksect; raid5_takeover_raid1()

Completed in 105 milliseconds