Hi
I am trying to run some java apps via virtfs and some of the file locking
(java) doesn't work. Here an exception (java) is thrown something about file
locking:
Here is the strace output:
3541 [pid 12461] openat(AT_FDCWD, "/mnt/<redacted> O_WRONLY|O_CREAT|O_APPEND,
0666 <unfinished ...>
3542 [pid 12461] <... openat resumed>) = 180
3543 [pid 12461] fstat(180, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
3544 [pid 12461] fcntl(180, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET,
l_start=0, l_len=0} <unfinished ...>
3545 [pid 12461] <... fcntl resumed>) = -1 EOPNOTSUPP (Operation not
supported)
If I run this on the native file system, there is no issue. Should this functl
be supported?
Cheers
JT
_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs