Am 23.06.2021 um 17:01 hat Max Reitz geschrieben: > Hi, > > See the cover letter from v1 for the general idea: > > https://lists.nongnu.org/archive/html/qemu-block/2021-06/msg00843.html > > > The biggest change here in v2 is that instead of having a common CoMutex > protect the block-status cache, we’re using RCU now. So to read from > the cache, or even to invalidate it, no lock is needed, only to update > it with new data. > > Disclaimer: I have no experience with RCU in practice so far, neither in > qemu nor anywhere else. So I hope I’ve used it correctly...
This I hope as well. :-) With the missing qatomic_rcu_read() added: Reviewed-by: Kevin Wolf <kw...@redhat.com>