Version 2.02.83 -
===================================
+ Allow CLVMD_CMD_SYNC_NAMES to be propagated around the cluster if requested.
Add "dmsetup ls --tree" output to lvmdump.
Fix udev synchronization with no-locking --sysinit (2.02.80).
Updating man pages for pvcreate, pvremove, pvresize, pvscan.
* One exception, is that P_ locks (except VG_SYNC_NAMES) /do/ get
* distributed across the cluster because they might have side-effects.
*/
- if ((strncmp(name, "P_", 2) &&
- (clvmd_cmd == CLVMD_CMD_LOCK_VG ||
- (flags & LCK_TYPE_MASK) == LCK_EXCL ||
- (flags & LCK_LOCAL) ||
- !(flags & LCK_CLUSTER_VG))) ||
- (clvmd_cmd == CLVMD_CMD_SYNC_NAMES && (flags & LCK_LOCAL)))
- node = ".";
+ if (clvmd_cmd == CLVMD_CMD_SYNC_NAMES) {
+ if (flags & LCK_LOCAL)
+ node = ".";
+ } else if (clvmd_cmd != CLVMD_CMD_VG_BACKUP) {
+ if (strncmp(name, "P_", 2) &&
+ (clvmd_cmd == CLVMD_CMD_LOCK_VG ||
+ (flags & LCK_TYPE_MASK) == LCK_EXCL ||
+ (flags & LCK_LOCAL) ||
+ !(flags & LCK_CLUSTER_VG)))
+ node = ".";
+ }
status = _cluster_request(clvmd_cmd, node, args, len,
&response, &num_responses);