Re: [Qemu-block] [PATCH] throttle: Remove throttle_group_lock/unlock()

2015-10-22 Thread Kevin Wolf
Am 21.10.2015 um 20:36 hat Alberto Garcia geschrieben: > The group throttling code was always meant to handle its locking > internally. However, bdrv_swap() was touching the ThrottleGroup > structure directly and therefore needed an API for that. > > Now that bdrv_swap() no longer exists there's

[Qemu-block] [PATCH] throttle: Remove throttle_group_lock/unlock()

2015-10-21 Thread Alberto Garcia
The group throttling code was always meant to handle its locking internally. However, bdrv_swap() was touching the ThrottleGroup structure directly and therefore needed an API for that. Now that bdrv_swap() no longer exists there's no need for the throttle_group_lock() API anymore.