Am 23.06.2017 um 14:46 hat Manos Pitsidianakis geschrieben: > timer_cb() needs to know about the current Aio context of the throttle > request that is woken up. In order to make ThrottleGroupMember backend > agnostic, this information is stored in an aio_context field instead of > accessing it from BlockBackend. > > Signed-off-by: Manos Pitsidianakis <el13...@mail.ntua.gr>
You're copying the AioContext when the BlockBackend is registered for the throttle group, but what keeps both sides in sync when the context is changed later on? Don't we need to update the ThrottleGroupMember in blk_set_aio_context? Kevin