Ayal Baron has submitted this change and it was merged.

Change subject: vm: extend shared property to support locking
......................................................................


vm: extend shared property to support locking

The drives "shared" property has been extended (from True/False) to
support sanlock locking.

The new values are:

 - "none":      no infomation (locking disabled)
 - "exclusive": the disk is used by the VM in exclusive mode
 - "shared":    the disk might be used by multiple VMs

For backward compatibility the old values are mapped as follows:

 - True: "shared"
 - False: "none" (or "exclusive" if use_volume_leases is True)

Change-Id: I9429ead45caac1178957a33393642817db59508f
Signed-off-by: Federico Simoncelli <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/17714
Reviewed-by: Ayal Baron <[email protected]>
---
M client/vdsClient.py
M tests/vmTests.py
M vdsm/storage/hsm.py
M vdsm/vm.py
M vdsm_api/vdsmapi-schema.json
5 files changed, 146 insertions(+), 53 deletions(-)

Approvals:
  Ayal Baron: Looks good to me, approved
  Federico Simoncelli: Verified



-- 
To view, visit http://gerrit.ovirt.org/17714
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9429ead45caac1178957a33393642817db59508f
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to