Re: [Virtio-fs] [PATCH 07/13] virtiofsd: Release file locks using F_UNLCK

2021-10-05 Thread Vivek Goyal
On Tue, Oct 05, 2021 at 03:37:17PM +0200, Christophe de Dinechin wrote: > > On 2021-09-30 at 11:30 -04, Vivek Goyal wrote... > > We are emulating posix locks for guest using open file description locks > > in virtiofsd. When any of the fd is closed in guest, we find associated > > OFD lock fd (if

Re: [Virtio-fs] [PATCH 07/13] virtiofsd: Release file locks using F_UNLCK

2021-10-05 Thread Christophe de Dinechin
On 2021-09-30 at 11:30 -04, Vivek Goyal wrote... > We are emulating posix locks for guest using open file description locks > in virtiofsd. When any of the fd is closed in guest, we find associated > OFD lock fd (if there is one) and close it to release all the locks. > > Assumption here is that