[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 022/104] virtiofsd: Start reading commands from queue
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 022/104] virtiofsd: Start reading commands from queue |
Date: |
Fri, 3 Jan 2020 15:34:35 +0000 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Thu, Dec 12, 2019 at 04:37:42PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Pop queue elements off queues, copy the data from them and
> pass that to fuse.
>
> Note: 'out' in a VuVirtqElement is from QEMU
> 'in' in libfuse is into the daemon
>
> So we read from the out iov's to get a fuse_in_header
>
> When we get a kick we've got to read all the elements until the queue
> is empty.
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
> ---
> tools/virtiofsd/fuse_i.h | 2 +
> tools/virtiofsd/fuse_virtio.c | 100 +++++++++++++++++++++++++++++++++-
> 2 files changed, 99 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <address@hidden>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 022/104] virtiofsd: Start reading commands from queue,
Daniel P . Berrangé <=