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

2020-01-03 Thread Daniel P . Berrangé
On Thu, Dec 12, 2019 at 04:37:33PM +, Dr. David Alan Gilbert (git) wrote: > From: Vivek Goyal > > 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() call

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

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Vivek Goyal 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: Viv