[Virtio-fs] [virtiofsd] MR merged: vhost_user_backend: Remove nested RwLock

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Thu Feb 17 14:09:47 UTC 2022


Implement `VhostUserBackend` instead of `VhostUserBackendMut`, in
order to avoid having a nested `RwLock`.  When using
`VhostUserBackendMut`, it needs to be wrapped in an `RwLock` (or
`Mutex`) which doesn't make sense, because our implementation uses
its own `Mutex` for synchronization.

This MR contains a 2nd commit that replaces the internal `Mutex` by an `RwLock`.
---
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/91




More information about the Virtio-fs mailing list