mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
drbd: fix limit define, we support 1 PiByte now
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
parent
cb6518cbef
commit
15b493d11f
1 changed files with 2 additions and 2 deletions
|
@ -117,10 +117,10 @@
|
||||||
/* drbdsetup XY resize -d Z
|
/* drbdsetup XY resize -d Z
|
||||||
* you are free to reduce the device size to nothing, if you want to.
|
* 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
|
* the upper limit with 64bit kernel, enough ram and flexible meta data
|
||||||
* is 16 TB, currently. */
|
* is 1 PiB, currently. */
|
||||||
/* DRBD_MAX_SECTORS */
|
/* DRBD_MAX_SECTORS */
|
||||||
#define DRBD_DISK_SIZE_SECT_MIN 0
|
#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_DISK_SIZE_SECT_DEF 0 /* = disabled = no user size... */
|
||||||
|
|
||||||
#define DRBD_ON_IO_ERROR_DEF EP_PASS_ON
|
#define DRBD_ON_IO_ERROR_DEF EP_PASS_ON
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue