/* net { */ /* timeout, unit centi seconds
* more than one minute timeout is not useful */ #define DRBD_TIMEOUT_MIN 1U #define DRBD_TIMEOUT_MAX 600U #define DRBD_TIMEOUT_DEF 60U /* 6 seconds */ #define DRBD_TIMEOUT_SCALE '1'
/* If backing disk takes longer than disk_timeout, mark the disk as failed */ #define DRBD_DISK_TIMEOUT_MIN 0U /* 0 = disabled */ #define DRBD_DISK_TIMEOUT_MAX 6000U /* 10 Minutes */ #define DRBD_DISK_TIMEOUT_DEF 0U /* disabled */ #define DRBD_DISK_TIMEOUT_SCALE '1'
/* timeout for the ping packets.*/ #define DRBD_PING_TIMEO_MIN 1U #define DRBD_PING_TIMEO_MAX 300U #define DRBD_PING_TIMEO_DEF 5U #define DRBD_PING_TIMEO_SCALE '1'
/* max number of write requests between write barriers */ #define DRBD_MAX_EPOCH_SIZE_MIN 1U #define DRBD_MAX_EPOCH_SIZE_MAX 20000U #define DRBD_MAX_EPOCH_SIZE_DEF 2048U #define DRBD_MAX_EPOCH_SIZE_SCALE '1'
/* I don't think that a tcp send buffer of more than 10M is useful */ #define DRBD_SNDBUF_SIZE_MIN 0U #define DRBD_SNDBUF_SIZE_MAX (10U<<20) #define DRBD_SNDBUF_SIZE_DEF 0U #define DRBD_SNDBUF_SIZE_SCALE '1'
/* 0 is disabled.
* 200 should be more than enough even for very short timeouts */ #define DRBD_KO_COUNT_MIN 0U #define DRBD_KO_COUNT_MAX 200U #define DRBD_KO_COUNT_DEF 7U #define DRBD_KO_COUNT_SCALE '1' /* } */
/* syncer { */ /* FIXME allow rate to be zero? */ #define DRBD_RESYNC_RATE_MIN 1U /* channel bonding 10 GbE, or other hardware */ #define DRBD_RESYNC_RATE_MAX (4 << 20) #define DRBD_RESYNC_RATE_DEF 250U #define DRBD_RESYNC_RATE_SCALE 'k'/* kilobytes */
#define DRBD_AL_EXTENTS_MIN 67U /* we use u16 as "slot number", (u16)~0 is "FREE". *Ifyouuse>=292kBon-diskringbuffer,
* this is the maximum you can use: */ #define DRBD_AL_EXTENTS_MAX 0xfffeU #define DRBD_AL_EXTENTS_DEF 1237U #define DRBD_AL_EXTENTS_SCALE '1'
/* We used to ignore the discard_zeroes_data setting. *Tonotchangeestablished(andexpected)behaviour, *bydefaultassumethat,fordiscard_zeroes_data=0, *wecanmakethataneffectivediscard_zeroes_data=1,
* if we only explicitly zero-out unaligned partial chunks. */ #define DRBD_DISCARD_ZEROES_IF_ALIGNED_DEF 1U
/* Some backends pretend to support WRITE SAME, *butfailsuchrequestswhentheyareactuallysubmitted.
* This is to tell DRBD to not even try. */ #define DRBD_DISABLE_WRITE_SAME_DEF 0U
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.