diff options
author | Vojtech Trefny <vtrefny@redhat.com> | 2023-04-20 11:49:21 +0200 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-04-20 12:09:11 -0500 |
commit | 7807672975cc991720d817b4e541ca5e720df26e (patch) | |
tree | 341e9b01086c741cf047ba47e3a54144d3302a34 /daemons | |
parent | 317071ec53c2f6e338c53a8964fdbb61dc3e8b57 (diff) | |
download | lvm2-7807672975cc991720d817b4e541ca5e720df26e.tar.gz |
lvmdbusd: Add a flag to activate LVs in shared mode to Lv.Activate
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/lvmdbusd/cmdhandler.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py index cf2a70875..cf9803e76 100644 --- a/daemons/lvmdbusd/cmdhandler.py +++ b/daemons/lvmdbusd/cmdhandler.py @@ -787,6 +787,10 @@ def activate_deactivate(op, name, activate, control_flags, options): if (1 << 5) & control_flags: cmd.append('--ignoreactivationskip') + # Shared locking (Cluster) + if (1 << 6) & control_flags: + op += 's' + if activate: op += 'y' else: |