[Virtio-fs] Achieving parallelism in virtiofsd

Liu, Changpeng changpeng.liu at intel.com
Fri Jul 5 09:56:42 UTC 2019



> -----Original Message-----
> From: virtio-fs-bounces at redhat.com [mailto:virtio-fs-bounces at redhat.com] On
> Behalf Of Peng Tao
> Sent: Friday, July 5, 2019 4:14 PM
> To: Stefan Hajnoczi <stefanha at redhat.com>
> Cc: virtio-fs at redhat.com
> Subject: Re: [Virtio-fs] Achieving parallelism in virtiofsd
> 
> On Fri, Jul 5, 2019 at 4:04 PM Stefan Hajnoczi <stefanha at redhat.com> wrote:
> >
> > On Fri, Jul 05, 2019 at 12:43:16PM +0800, piaojun wrote:
> > > From your description, virtiofsd does the same work as SPDK, and I
> > > wonder if we could adapt it to SPDK-vhost-fs which is widely used.
> >
> > I don't see 9P code in spdk.git/master.  How does the guest access
> > SPDK's vhost-fs device and where is the code?
> >
> > A quick look at blobfs suggests additional work is needed to introduce
> > the concept of inodes instead of performing path name traversal on most
> > operations.  This also changes the semantics of the file system since
> > POSIX files can still be accessed after they are unlinked or renamed.
> >
> > In theory SPDK can implement the vhost-user-fs device interface and
> > replace virtiofsd but SPDK needs a POSIX file system implementation
> > first.
> Intel has presented virtiofsd+blobfs+SPDK in KubeCon Shanghai last
> month. As you have spotted, the main problem is on blobfs side and
> virtio-fs DAX sharing is not working because of blobfs limitation.
> 
I'm planning to add similar mmap API in SPDK, hopefully it can work in next few weeks.
> Cheers,
> Tao
> --
> Into something rich and strange.
> 
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs at redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs




More information about the Virtio-fs mailing list