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

/linux-4.1.27/drivers/md/
H A Draid10.c123 #define RESYNC_BLOCK_SIZE (64*1024) macro
124 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE)
128 #define RESYNC_DEPTH (32*1024*1024/RESYNC_BLOCK_SIZE)
2846 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; init_resync()
4313 if (sector_nr + RESYNC_BLOCK_SIZE/512 < last) reshape_request()
4314 sector_nr = last + 1 - RESYNC_BLOCK_SIZE/512; reshape_request()
4336 if (sector_nr + RESYNC_BLOCK_SIZE/512 <= last) reshape_request()
4337 last = sector_nr + RESYNC_BLOCK_SIZE/512 - 1; reshape_request()
H A Draid1.c87 #define RESYNC_BLOCK_SIZE (64*1024) macro
89 #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9)
90 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE)
91 #define RESYNC_WINDOW (RESYNC_BLOCK_SIZE * RESYNC_DEPTH)
2465 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; init_resync()

Completed in 113 milliseconds