aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-05-11 08:44:55 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:55:51 -0500
commitc5482bbd9607bf38cbc952eacaa429e6ba3160a0 (patch)
treec365a2c38905aa97f0cc2c05e9a2d3b837f83bb4 /include/linux/drbd_limits.h
parent3a45abd577727d2268e190d372600f8652883453 (diff)
drbd: Rename DISK_SIZE_SECT -> DISK_SIZE
We don't have the units in constant names in other places, either. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r--include/linux/drbd_limits.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index c4a8f0fef7b2..8f8bbea545e0 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -125,9 +125,10 @@
125 * the upper limit with 64bit kernel, enough ram and flexible meta data 125 * the upper limit with 64bit kernel, enough ram and flexible meta data
126 * is 1 PiB, currently. */ 126 * is 1 PiB, currently. */
127/* DRBD_MAX_SECTORS */ 127/* DRBD_MAX_SECTORS */
128#define DRBD_DISK_SIZE_SECT_MIN 0 128#define DRBD_DISK_SIZE_MIN 0
129#define DRBD_DISK_SIZE_SECT_MAX (1 * (2LLU << 40)) 129#define DRBD_DISK_SIZE_MAX (16 * (2LLU << 30))
130#define DRBD_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */ 130#define DRBD_DISK_SIZE_DEF 0 /* = disabled = no user size... */
131#define DRBD_DISK_SIZE_SCALE 's' /* sectors */
131 132
132#define DRBD_ON_IO_ERROR_DEF EP_DETACH 133#define DRBD_ON_IO_ERROR_DEF EP_DETACH
133#define DRBD_FENCING_DEF FP_DONT_CARE 134#define DRBD_FENCING_DEF FP_DONT_CARE