Re: [libvirt] [PATCH] Add support for shared sanlock leases

2012-06-22 Thread Federico Simoncelli
- Original Message - > From: "Eric Blake" > To: "Federico Simoncelli" > Cc: "Daniel P. Berrange" , libvir-list@redhat.com > Sent: Friday, June 22, 2012 6:19:34 AM > Subject: Re: [libvirt] [PATCH] Add support for shared sanlock leases >

Re: [libvirt] [PATCH] Add support for shared sanlock leases

2012-06-21 Thread Eric Blake
On 06/21/2012 11:00 AM, Federico Simoncelli wrote: > On Thu, Jun 21, 2012 at 03:37:10PM +0100, Daniel P. Berrange wrote: >> From: "Daniel P. Berrange" >> >> A sanlock lease can be marked as shared (rather >> than exclusive) using SANLK_RES_SHARED flag. This >> adds support for that flag and ensur

Re: [libvirt] [PATCH] Add support for shared sanlock leases

2012-06-21 Thread Federico Simoncelli
On Thu, Jun 21, 2012 at 03:37:10PM +0100, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > A sanlock lease can be marked as shared (rather > than exclusive) using SANLK_RES_SHARED flag. This > adds support for that flag and ensures that in auto > disk mode, any shared disks use shared

[libvirt] [PATCH] Add support for shared sanlock leases

2012-06-21 Thread Daniel P. Berrange
From: "Daniel P. Berrange" A sanlock lease can be marked as shared (rather than exclusive) using SANLK_RES_SHARED flag. This adds support for that flag and ensures that in auto disk mode, any shared disks use shared leases. This also makes any read-only disks be completely ignored. These change