Skip to content

virtiofsd: multithreading preparation part 2

Stefan Hajnoczi qemu-devel virtio-fs 1 version Applied

Status from this message: Thanks, applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5virtiofsd: take lo->mutex around lo_add_fd_mapping()contrib/virtiofsd/passthrough_ll.c+4 -02 replies
2/5virtiofsd: take lo->mutex around lo_add_dirp_mapping()contrib/virtiofsd/passthrough_ll.c+2 -01 reply
3/5virtiofsd: rename inode->refcount to inode->nlookupcontrib/virtiofsd/passthrough_ll.c+24 -121 reply
4/5virtiofsd: fix inode nlookup leakscontrib/virtiofsd/passthrough_ll.c+6 -20 replies
5/5virtiofsd: introduce inode refcount to prevent use-after-freecontrib/virtiofsd/passthrough_ll.c+178 -340 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDr. David Alan Gilbert
1/5
2/5
3/5R-b
4/5
5/5

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] virtiofsd: multithreading preparation part 2

This is the second in a multi-series effort to make virtiofsd thread-safe. The main goal in this installment is to make lo_inode thread-safe, but other fixes are included too. Like any good author I will build suspense and won't tell where this story is headed, but I still have some more code auditing to do before we can declare virtiofsd thread-safe :).

Based-on: <[email protected]> ("virtiofsd: multithreading preparation")

Stefan Hajnoczi (5):
virtiofsd: take lo->mutex around lo_add_fd_mapping()
virtiofsd: take lo->mutex around lo_add_dirp_mapping()
virtiofsd: rename inode->refcount to inode->nlookup
virtiofsd: fix inode nlookup leaks
virtiofsd: introduce inode refcount to prevent use-after-free

 contrib/virtiofsd/passthrough_ll.c | 262 +++++++++++++++++++++++------
 1 file changed, 214 insertions(+), 48 deletions(-)
Signature · 1 line
2.21.0