aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 85207b275e41..bcba2742cfba 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -512,7 +512,7 @@ struct p_sizes {
512 u64 d_size; /* size of disk */ 512 u64 d_size; /* size of disk */
513 u64 u_size; /* user requested size */ 513 u64 u_size; /* user requested size */
514 u64 c_size; /* current exported size */ 514 u64 c_size; /* current exported size */
515 u32 max_segment_size; /* Maximal size of a BIO */ 515 u32 max_bio_size; /* Maximal size of a BIO */
516 u16 queue_order_type; /* not yet implemented in DRBD*/ 516 u16 queue_order_type; /* not yet implemented in DRBD*/
517 u16 dds_flags; /* use enum dds_flags here. */ 517 u16 dds_flags; /* use enum dds_flags here. */
518} __packed; 518} __packed;
@@ -1398,7 +1398,7 @@ struct bm_extent {
1398 * With a value of 8 all IO in one 128K block make it to the same slot of the 1398 * With a value of 8 all IO in one 128K block make it to the same slot of the
1399 * hash table. */ 1399 * hash table. */
1400#define HT_SHIFT 8 1400#define HT_SHIFT 8
1401#define DRBD_MAX_SEGMENT_SIZE (1U<<(9+HT_SHIFT)) 1401#define DRBD_MAX_BIO_SIZE (1U<<(9+HT_SHIFT))
1402 1402
1403#define DRBD_MAX_SIZE_H80_PACKET (1 << 15) /* The old header only allows packets up to 32Kib data */ 1403#define DRBD_MAX_SIZE_H80_PACKET (1 << 15) /* The old header only allows packets up to 32Kib data */
1404 1404