RESYNC_BLOCK_SIZE 4 drivers/md/raid1-10.c #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) RESYNC_BLOCK_SIZE 123 drivers/md/raid1.c #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9) RESYNC_BLOCK_SIZE 124 drivers/md/raid1.c #define RESYNC_WINDOW (RESYNC_BLOCK_SIZE * RESYNC_DEPTH) RESYNC_BLOCK_SIZE 2597 drivers/md/raid1.c buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; RESYNC_BLOCK_SIZE 101 drivers/md/raid10.c #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9) RESYNC_BLOCK_SIZE 105 drivers/md/raid10.c #define RESYNC_DEPTH (32*1024*1024/RESYNC_BLOCK_SIZE) RESYNC_BLOCK_SIZE 2789 drivers/md/raid10.c buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; RESYNC_BLOCK_SIZE 4486 drivers/md/raid10.c if (sector_nr + RESYNC_BLOCK_SIZE/512 < last) RESYNC_BLOCK_SIZE 4487 drivers/md/raid10.c sector_nr = last + 1 - RESYNC_BLOCK_SIZE/512; RESYNC_BLOCK_SIZE 4509 drivers/md/raid10.c if (sector_nr + RESYNC_BLOCK_SIZE/512 <= last) RESYNC_BLOCK_SIZE 4510 drivers/md/raid10.c last = sector_nr + RESYNC_BLOCK_SIZE/512 - 1;