Re: [Qemu-devel] [RFC PATCH 0/7] virtio-fs: shared file system for virtual machines3

2019-01-07 Thread jiangyiwen
On 2018/12/27 3:08, Vivek Goyal wrote: > On Sat, Dec 22, 2018 at 05:27:28PM +0800, jiangyiwen wrote: >> On 2018/12/11 1:31, Dr. David Alan Gilbert (git) wrote: >>> From: "Dr. David Alan Gilbert" >>> >>> Hi, >>> This is the first RF

Re: [Qemu-devel] [RFC PATCH 0/7] virtio-fs: shared file system for virtual machines3

2018-12-22 Thread jiangyiwen
On 2018/12/11 1:31, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Hi, > This is the first RFC for the QEMU side of 'virtio-fs'; > a new mechanism for mounting host directories into the guest > in a fast, consistent and secure manner. Our primary use > case is kata

Re: [Qemu-devel] [PATCH] vhost-vsock: support parse mergeable feature

2018-12-14 Thread jiangyiwen
On 2018/12/13 23:34, Stefan Hajnoczi wrote: > On Thu, Dec 13, 2018 at 11:27:24AM +0800, jiangyiwen wrote: >> On 2018/12/12 21:19, Michael S. Tsirkin wrote: >>> On Wed, Dec 12, 2018 at 05:54:49PM +0800, jiangyiwen wrote: >>>> Currently vhost-vsock doesn't have any

Re: [Qemu-devel] [PATCH] vhost-vsock: support parse mergeable feature

2018-12-14 Thread jiangyiwen
On 2018/12/13 22:54, Michael S. Tsirkin wrote: > On Thu, Dec 13, 2018 at 11:27:24AM +0800, jiangyiwen wrote: >> On 2018/12/12 21:19, Michael S. Tsirkin wrote: >>> On Wed, Dec 12, 2018 at 05:54:49PM +0800, jiangyiwen wrote: >>>> Currently vhost-vsock doesn't have any

Re: [Qemu-devel] [PATCH] vhost-vsock: support parse mergeable feature

2018-12-12 Thread jiangyiwen
On 2018/12/12 21:19, Michael S. Tsirkin wrote: > On Wed, Dec 12, 2018 at 05:54:49PM +0800, jiangyiwen wrote: >> Currently vhost-vsock doesn't have any feature bits, so it >> don't support parse mergeable rx buffer feature. And the >> feature is support in another series of pa

[Qemu-devel] [PATCH] vhost-vsock: support parse mergeable feature

2018-12-12 Thread jiangyiwen
Currently vhost-vsock doesn't have any feature bits, so it don't support parse mergeable rx buffer feature. And the feature is support in another series of patches named "VSOCK: support mergeable rx buffer in vhost-vsock". So we neet to support parse mergeable feature in vhost-vsock if above

[Qemu-devel] [RFC] About 9pfs support "O_DIRECT + aio"?

2018-03-30 Thread jiangyiwen
Hi everyone, Currently, I found virtio-9p in VirtFS don't support "O_DIRECT + aio" mode, both v9fs and qemu. So when user use "O_DIRECT + aio" mode and increase iodepths, they can't get higher IOPS. I want to know why v9fs don't implement this mode? And I will try to implement this mode from now

Re: [Qemu-devel] [V9fs-developer] [RFC] we should solve create-unlink-getattr idiom

2018-02-10 Thread jiangyiwen
On 2018/2/9 19:33, Greg Kurz wrote: > On Fri, 9 Feb 2018 15:10:46 +0800 > jiangyiwen <jiangyi...@huawei.com> wrote: > >> Hi Eric and Greg, >> >> I encountered the similar problem with create-unlink-getattr idiom. >> I use the testcase that create-unl

[Qemu-devel] [V9fs-developer] [RFC] we should solve create-unlink-getattr idiom

2018-02-08 Thread jiangyiwen
Hi Eric and Greg, I encountered the similar problem with create-unlink-getattr idiom. I use the testcase that create-unlink-setattr idiom, and I see the bug is reported at https://bugs.launchpad.net/qemu/+bug/1336794. Then I also see you already fix the issue and push the patch to upstream.

Re: [Qemu-devel] [PATCH] 9pfs: don't ignore O_DIRECT flag in the 9pfs server

2017-11-20 Thread jiangyiwen
On 2017/11/20 18:13, Greg Kurz wrote: > On Mon, 20 Nov 2017 13:48:59 +0800 > jiangyiwen <jiangyi...@huawei.com> wrote: > >> Now v9fs in linux has already supported O_DIRECT(v9fs_direct_IO), >> when guest user open file with O_DIRECT flag and return success, >>

[Qemu-devel] [PATCH] 9pfs: don't ignore O_DIRECT flag in the 9pfs server

2017-11-19 Thread jiangyiwen
Now v9fs in linux has already supported O_DIRECT(v9fs_direct_IO), when guest user open file with O_DIRECT flag and return success, so user hopes data doesn't pass through page cache, but 9pfs in qemu ignore direct disk access and use host page cache, it is not match to DIRECT_IO semantic, so we

[Qemu-devel] [PATCH] Don't ignore O_DIRECT flag in the 9pfs server

2017-11-17 Thread jiangyiwen
Now v9fs in linux has already supported O_DIRECT(v9fs_direct_IO), when guest user open file with O_DIRECT flag and return success, so user hopes data doesn't pass through page cache, but 9pfs in qemu ignore direct disk access and use host page cache, it is not match to DIRECT_IO semantic, so we