Re: [PATCH 094/104] virtiofsd: do not always set FUSE_FLOCK_LOCKS

2020-01-20 Thread Sergio Lopez
Dr. David Alan Gilbert (git) writes: > From: Peng Tao > > Right now we always enable it regardless of given commandlines. > Fix it by setting the flag relying on the lo->flock bit. > > Signed-off-by: Peng Tao > --- > tools/virtiofsd/passthrough_ll.c | 11 --- > 1 file changed, 8 inser

Re: [PATCH 094/104] virtiofsd: do not always set FUSE_FLOCK_LOCKS

2020-01-17 Thread Misono Tomohiro
> From: Peng Tao > > Right now we always enable it regardless of given commandlines. > Fix it by setting the flag relying on the lo->flock bit. > > Signed-off-by: Peng Tao I think we should remove LL_SET_DEFAULT for flock/posix_lock in do_init() but that can be done in another patch. Reviewed

[PATCH 094/104] virtiofsd: do not always set FUSE_FLOCK_LOCKS

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Peng Tao Right now we always enable it regardless of given commandlines. Fix it by setting the flag relying on the lo->flock bit. Signed-off-by: Peng Tao --- tools/virtiofsd/passthrough_ll.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/virtiofsd/p