Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Daniel P . Berrangé
On Fri, Jan 03, 2020 at 02:56:50PM +0100, Gionatan Danti wrote: > Il 03-01-2020 11:26 Daniel P. Berrangé ha scritto: > > virtlockd also uses fcntl(), however, it doesn't have to acquire locks > > on > > the file/block device directly. It can use a look-aside file for > > locking. > > For example a

Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Gionatan Danti
Il 03-01-2020 11:26 Daniel P. Berrangé ha scritto: virtlockd also uses fcntl(), however, it doesn't have to acquire locks on the file/block device directly. It can use a look-aside file for locking. For example a path under /var/lib/libvirt/lock. This means that locks on block devices for

Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Daniel P . Berrangé
On Sat, Dec 28, 2019 at 02:36:27PM +0100, Gionatan Danti wrote: > Il 28-12-2019 01:39 Gionatan Danti ha scritto: > > Hi list, > > I would like to ask a clarification about how locking works. My test > > system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 > > > > Is was understanding that,

Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Gionatan Danti
Il 28-12-2019 14:36 Gionatan Danti ha scritto: Il 28-12-2019 01:39 Gionatan Danti ha scritto: Hi list, I would like to ask a clarification about how locking works. My test system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 Is was understanding that, by default, libvirt does not use any