diff options
| -rw-r--r-- | drivers/block/drbd/drbd_int.h | 2 | ||||
| -rw-r--r-- | include/linux/drbd_limits.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index ff7fffa00dac..1680939de101 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
| @@ -348,7 +348,7 @@ struct p_header80 { | |||
| 348 | struct p_header95 { | 348 | struct p_header95 { |
| 349 | u16 magic; /* use DRBD_MAGIC_BIG here */ | 349 | u16 magic; /* use DRBD_MAGIC_BIG here */ |
| 350 | u16 command; | 350 | u16 command; |
| 351 | u32 length; | 351 | u32 length; /* Use only 24 bits of that. Ignore the highest 8 bit. */ |
| 352 | u8 payload[0]; | 352 | u8 payload[0]; |
| 353 | } __packed; | 353 | } __packed; |
| 354 | 354 | ||
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 0b24ded6fffd..4ac33f34b77e 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h | |||
| @@ -143,7 +143,7 @@ | |||
| 143 | #define DRBD_C_DELAY_TARGET_DEF 10 | 143 | #define DRBD_C_DELAY_TARGET_DEF 10 |
| 144 | 144 | ||
| 145 | #define DRBD_C_FILL_TARGET_MIN 0 | 145 | #define DRBD_C_FILL_TARGET_MIN 0 |
| 146 | #define DRBD_C_FILL_TARGET_MAX 100000 | 146 | #define DRBD_C_FILL_TARGET_MAX (1<<20) /* 500MByte in sec */ |
| 147 | #define DRBD_C_FILL_TARGET_DEF 0 /* By default disabled -> controlled by delay_target */ | 147 | #define DRBD_C_FILL_TARGET_DEF 0 /* By default disabled -> controlled by delay_target */ |
| 148 | 148 | ||
| 149 | #define DRBD_C_MAX_RATE_MIN 250 /* kByte/sec */ | 149 | #define DRBD_C_MAX_RATE_MIN 250 /* kByte/sec */ |
