Re: [Virtio-fs] [PATCH] virtiofsd: Add pread64() to seccomp list for posix_fallocate()

2019-10-04 Thread Dr. David Alan Gilbert
* Misono Tomohiro (misono.tomoh...@jp.fujitsu.com) wrote: > I test virtiofs with NFS 4.0 as backend and notice that fallocate > causes system hang (kernel: 5.4-rc1, qemu: virtio-fs-dev branch): > $ mount -t virtiofs myfs /mnt > $ dd if=/dev/urandom bs=1000 seek=1 count=1 of=/mnt/file > $ falloca

[Virtio-fs] [PATCH] virtiofsd: Add pread64() to seccomp list for posix_fallocate()

2019-10-04 Thread Misono Tomohiro
I test virtiofs with NFS 4.0 as backend and notice that fallocate causes system hang (kernel: 5.4-rc1, qemu: virtio-fs-dev branch): $ mount -t virtiofs myfs /mnt $ dd if=/dev/urandom bs=1000 seek=1 count=1 of=/mnt/file $ fallocate -l 2000 /mnt/file # system hang This is because: 1. virtiofs su