Re: [Virtio-fs] [PATCH] virtiofsd: Do not support blocking flock

2022-01-13 Thread Greg Kurz
On Tue, 11 Jan 2022 19:10:43 +0100 Sebastian Hasler wrote: > With the current implementation, blocking flock can lead to > deadlock. Thus, it's better to return EOPNOTSUPP if a user attempts > to perform a blocking flock request. > > Signed-off-by: Sebastian Hasler > --- >

Re: [PATCH] virtiofsd: Do not support blocking flock

2022-01-12 Thread Sebastian Hasler
On 11/01/2022 19:10, Sebastian Hasler wrote: With the current implementation, blocking flock can lead to deadlock. Thus, it's better to return EOPNOTSUPP if a user attempts to perform a blocking flock request. Signed-off-by: Sebastian Hasler --- tools/virtiofsd/passthrough_ll.c | 6 ++

[PATCH] virtiofsd: Do not support blocking flock

2022-01-11 Thread Sebastian Hasler
With the current implementation, blocking flock can lead to deadlock. Thus, it's better to return EOPNOTSUPP if a user attempts to perform a blocking flock request. Signed-off-by: Sebastian Hasler --- tools/virtiofsd/passthrough_ll.c | 6 ++ 1 file changed, 6 insertions(+) diff --git