mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Mask LCK_HOLD flag in cluster VG locks for compatibility reasons.
This commit is contained in:
parent
a2263de0a3
commit
e4594d9c23
@ -1,5 +1,6 @@
|
||||
Version 2.02.63 -
|
||||
================================
|
||||
Mask LCK_HOLD flag in cluster VG locks for compatibility reasons.
|
||||
Add activation/polling_interval to lvm.conf as --interval default.
|
||||
Don't ignore error if resuming any LV fails in resume_lvs.
|
||||
Skip closing persistent filter cache file if open failed.
|
||||
|
@ -415,6 +415,13 @@ int lock_resource(struct cmd_context *cmd, const char *resource, uint32_t flags)
|
||||
|
||||
lock_scope = "VG";
|
||||
clvmd_cmd = CLVMD_CMD_LOCK_VG;
|
||||
/*
|
||||
* Old clvmd does not expect LCK_HOLD which was already processed
|
||||
* in lock_vol, mask it for compatibility reasons.
|
||||
*/
|
||||
if (flags != LCK_VG_COMMIT && flags != LCK_VG_REVERT)
|
||||
flags &= ~LCK_HOLD;
|
||||
|
||||
break;
|
||||
|
||||
case LCK_LV:
|
||||
|
Loading…
Reference in New Issue
Block a user