[Drbd-dev] comment "centi seconds" should be "deci seconds"

David Butterfield dab21774 at gmail.com
Wed Jun 5 18:03:57 CEST 2019


Comment in drbd_limits.h refers to "centi seconds" but they appear to be units of 1/10 (deci)
rather than 1/100 (centi).  (I assume this is a bug in the comment rather than the definition)

52 /* net { */
53   /* timeout, unit centi seconds
54    *    (XXX They actually seem to be deci-seconds)
55    * more than one minute timeout is not useful */
56 #define DRBD_TIMEOUT_MIN 1
57 #define DRBD_TIMEOUT_MAX 600
58 #define DRBD_TIMEOUT_DEF 60       /* 6 seconds */
59 #define DRBD_TIMEOUT_SCALE '1'


More information about the drbd-dev mailing list