lp:drbd-utils
- Get this branch:
- bzr branch lp:drbd-utils
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.linbit.com/drbd-utils.git.
Last successful import was .
Recent revisions
- 2635. By Philipp Reisner
-
drbdadm: Log error message to syslog if no stderr available
When drbdadm is called from kernel context, it has no stderr.
In this case error messages should be sent to syslog instead.Most of the patch was generated using spatch
@@
expression string;
@@- fprintf(stderr, string);
+ err(string);@@
expression string, e1;
@@- fprintf(stderr, string, e1);
+ err(string, e1);@@
expression string, e1, e2;
@@- fprintf(stderr, string, e1, e2);
+ err(string, e1, e2);@@
expression string, e1, e2, e3;
@@- fprintf(stderr, string, e1, e2, e3);
+ err(string, e1, e2, e3);@@
expression string, e1, e2, e3, e4;
@@- fprintf(stderr, string, e1, e2, e3, e4);
+ err(string, e1, e2, e3, e4);@@
expression string, e1, e2, e3, e4, e5;
@@- fprintf(stderr, string, e1, e2, e3, e4, e5);
+ err(string, e1, e2, e3, e4, e5);@@
expression string, e1, e2, e3, e4, e5, e6;
@@- fprintf(stderr, string, e1, e2, e3, e4, e5, e6);
+ err(string, e1, e2, e3, e4, e5, e6);@@
expression string, e1, e2, e3, e4, e5, e6, e7;
@@- fprintf(stderr, string, e1, e2, e3, e4, e5, e6, e7);
+ err(string, e1, e2, e3, e4, e5, e6, e7);@@
expression string, e1, e2, e3, e4, e5, e6, e7, e8;
@@- fprintf(stderr, string, e1, e2, e3, e4, e5, e6, e7, e8);
+ err(string, e1, e2, e3, e4, e5, e6, e7, e8); - 2632. By Thomas Zajic <email address hidden>
-
Init script: Activate stacked resources on "start", too.
In a Pacemaker-
controlled cluster the init script should be turned off;
but this helps on the 3rd-of-4 nodes, ie. with a Thin-LV-Backup node
before the real DR-node. - 2631. By Thomas Zajic <email address hidden>
-
Init script: Handle stacked resources in the correct order on "down".
- 2630. By Simon Effenberg <email address hidden>
-
drbdadm: Fix a check for the number of arguments.
Previously we had this behaviour:
# drbdadm sh-resources does-not-exist
...
# drbdadm sh-resources does-not-exist does-not-exist
This command will ignore resource names!
... - 2629. By Lars Ellenberg <email address hidden>
-
drbdmeta: fix regression corner cases in bitmap size calculation
Regression was introduced with the kernel/userland split.
Regression was caused underestimating the number of bytes by
not aligning the number of bits to 64 before converting to bytes
(dividing by 8). - 2628. By Lars Ellenberg <email address hidden>
-
drbdmeta: allow create-md to initialize peer-max-bio-size to 1M
previously: 128k, for historical reasons.
Only relevant if you intend to initialize a single-node setup, and use
that for "some time", before even doing the initial connect to any peer. - 2627. By Dirk Tilger <email address hidden>
-
drbd main ipv6: Fix interface indices larger than 255
fscanf line probably copied from kernel printf, but printf specifies the
minimal field width and scanf the maximal field width.The bug was triggered on Xen servers that create and assign new,
incremented interface IDs for new machines.ifindex is of type int anyways: struct net_device as defined in
include/linux/netdevice .h. We should not rely on the assumption that
the values are small enough to fit in one byte.Signed-off-by: Roland Kammerer <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)