gulm clvmd now doesn't ignore the first node in cluster.conf
Improve clvmd failure message if it's already running.
Allow user to kill clvmd during initialisation.
+ Fix off-by-one error in cluster_locking that could cause read hangs.
Version 2.00.32 - 22nd December 2004
====================================
/* Read the returned values */
off = 1; /* we've already read the first byte */
-
- while (off < outheader->arglen && len > 0) {
+ while (off <= outheader->arglen && len > 0) {
len = read(_clvmd_sock, outheader->args + off,
buflen - off - offsetof(struct clvm_header, args));
if (len > 0)
/* Was it an error ? */
if (outheader->status < 0) {
errno = -outheader->status;
- log_error("cluster send request failed: %s", strerror(errno));
+ log_error("cluster request failed: %s", strerror(errno));
return 0;
}