diff options
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index db7e65531afa..58dc02bd16c2 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -1389,11 +1389,13 @@ struct bm_extent { | |||
1389 | #endif | 1389 | #endif |
1390 | 1390 | ||
1391 | /* Sector shift value for the "hash" functions of tl_hash and ee_hash tables. | 1391 | /* Sector shift value for the "hash" functions of tl_hash and ee_hash tables. |
1392 | * With a value of 6 all IO in one 32K block make it to the same slot of the | 1392 | * With a value of 8 all IO in one 128K block make it to the same slot of the |
1393 | * hash table. */ | 1393 | * hash table. */ |
1394 | #define HT_SHIFT 6 | 1394 | #define HT_SHIFT 8 |
1395 | #define DRBD_MAX_SEGMENT_SIZE (1U<<(9+HT_SHIFT)) | 1395 | #define DRBD_MAX_SEGMENT_SIZE (1U<<(9+HT_SHIFT)) |
1396 | 1396 | ||
1397 | #define DRBD_MAX_SIZE_H80_PACKET (1 << 15) /* The old header only allows packets up to 32Kib data */ | ||
1398 | |||
1397 | /* Number of elements in the app_reads_hash */ | 1399 | /* Number of elements in the app_reads_hash */ |
1398 | #define APP_R_HSIZE 15 | 1400 | #define APP_R_HSIZE 15 |
1399 | 1401 | ||