[Virtio-fs] [virtiofsd] MR merged: vhost_user_backend: Remove nested RwLock
| Newsgroups | dev.linux.lists.virtio-fs |
|---|---|
| Message-ID | <[email protected]> |
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