qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 013/104] virtiofsd: Make fsync work even if only inode is pas


From: Daniel P . Berrangé
Subject: Re: [PATCH 013/104] virtiofsd: Make fsync work even if only inode is passed in
Date: Fri, 3 Jan 2020 15:13:58 +0000
User-agent: Mutt/1.12.1 (2019-06-15)

On Thu, Dec 12, 2019 at 04:37:33PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: Vivek Goyal <address@hidden>
> 
> If caller has not sent file handle in request, then using inode, retrieve
> the fd opened using O_PATH and use that to open file again and issue
> fsync. This will be needed when dax_flush() calls fsync. At that time
> we only have inode information (and not file).
> 
> Signed-off-by: Vivek Goyal <address@hidden>
> ---
>  tools/virtiofsd/fuse_lowlevel.c  |  6 +++++-
>  tools/virtiofsd/passthrough_ll.c | 28 ++++++++++++++++++++++++++--
>  2 files changed, 31 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 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]