--- raid10.c 2008-07-12 18:28:59.438235317 +0200 +++ raid10.c~ 2008-07-03 05:46:47.000000000 +0200 @@ -80,7 +80,7 @@ //#define RESYNC_BLOCK_SIZE PAGE_SIZE #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9) #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) -#define RESYNC_WINDOW (2048*1024*16) +#define RESYNC_WINDOW (2048*1024) /* * When performing a resync, we need to read and compare, so @@ -686,7 +686,7 @@ * there is no normal IO happeing. It must arrange to call * lower_barrier when the particular background IO completes. */ -#define RESYNC_DEPTH 32*16 +#define RESYNC_DEPTH 32 static void raise_barrier(conf_t *conf, int force) {