projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6518c
)
drbd: fix limit define, we support 1 PiByte now
author
Lars Ellenberg
<lars.ellenberg@linbit.com>
Tue, 28 Jun 2011 07:48:48 +0000
(09:48 +0200)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Thu, 30 Jun 2011 07:23:45 +0000
(09:23 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
include/linux/drbd_limits.h
patch
|
blob
|
history
diff --git
a/include/linux/drbd_limits.h
b/include/linux/drbd_limits.h
index 246f576c981d67c2d5430d036c0f39bab88b12f4..447c36752385a52bc661adcea0cec1ca37ffad7f 100644
(file)
--- a/
include/linux/drbd_limits.h
+++ b/
include/linux/drbd_limits.h
@@
-117,10
+117,10
@@
/* drbdsetup XY resize -d Z
* you are free to reduce the device size to nothing, if you want to.
* the upper limit with 64bit kernel, enough ram and flexible meta data
- * is 1
6 T
B, currently. */
+ * is 1
Pi
B, currently. */
/* DRBD_MAX_SECTORS */
#define DRBD_DISK_SIZE_SECT_MIN 0
-#define DRBD_DISK_SIZE_SECT_MAX (1
6 * (2LLU << 3
0))
+#define DRBD_DISK_SIZE_SECT_MAX (1
* (2LLU << 4
0))
#define DRBD_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */
#define DRBD_ON_IO_ERROR_DEF EP_PASS_ON