From: Lars Ellenberg Date: Tue, 28 Jun 2011 07:48:48 +0000 (+0200) Subject: drbd: fix limit define, we support 1 PiByte now X-Git-Tag: upstream/snapshot3+hdmi~9718^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15b493d11fcce3c5547e3d7fb6d90e11ffe12777;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drbd: fix limit define, we support 1 PiByte now Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 246f576..447c367 100644 --- 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 16 TB, currently. */ + * is 1 PiB, currently. */ /* DRBD_MAX_SECTORS */ #define DRBD_DISK_SIZE_SECT_MIN 0 -#define DRBD_DISK_SIZE_SECT_MAX (16 * (2LLU << 30)) +#define DRBD_DISK_SIZE_SECT_MAX (1 * (2LLU << 40)) #define DRBD_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */ #define DRBD_ON_IO_ERROR_DEF EP_PASS_ON