Skip to content

virtiofsd: Fix lo_flush() and inode->posix_lock init

Vivek Goyal qemu-devel virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtiofsd: Set up posix_lock hash table for root inodetools/virtiofsd/passthrough_ll.c+7 -02 replies
2/3virtiofsd: Disable posix_lock hash table if remote locks are not enabledtools/virtiofsd/passthrough_ll.c+34 -171 reply
3/3virtiofsd: Check file type in lo_flush()tools/virtiofsd/passthrough_ll.c+1 -19 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLaszlo ErsekDr. David Alan Gilbert
SeriesT-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] virtiofsd: Fix lo_flush() and inode->posix_lock init

Laszlo is writing a virtiofs client for OVMF and noticed that if he sends fuse FLUSH command for directory object, virtiofsd crashes. virtiofsd does not expect a FLUSH arriving for a directory object.

This patch series has one of the patches which fixes that. It also has couple of posix lock fixes as a result of lo_flush() related debugging.

Vivek Goyal (3):
virtiofsd: Set up posix_lock hash table for root inode
virtiofsd: Disable posix_lock hash table if remote locks are not
enabled
virtiofsd: Check file type in lo_flush()

 tools/virtiofsd/passthrough_ll.c | 54 +++++++++++++++++++++++---------
 1 file changed, 39 insertions(+), 15 deletions(-)
Signature · 1 line
2.25.4