22.04.2021 00:23, Vladimir Sementsov-Ogievskiy wrote:
19.04.2021 11:55, Emanuele Giuseppe Esposito wrote:
Reads access the list in RCU style, so be careful to avoid use-after-free
scenarios in the backup block job. Apart from this, all that's needed
is protecting updates with a mutex.
Note that backup doesn't use write-notifiers now. Probably best thing to do is
to update other users to use filters instead of write notifiers, and drop write
notifiers at all. But it may require more work, so don't care.
But on the other hand.. Why not. We can go without filter and still drop write-notifiers.
Look at my new patch "[PATCH] block: simplify write-threshold and drop write
notifiers"
--
Best regards,
Vladimir