There is no need to keep a mutable reference to the scheduling_group passed at construction time since setting / updating shares is using the schedulig_group / io_priority_class id as a handle, and the id itself is never changed by the backlog_controller. Note that the class names are misleading, in hind sight, they would better be called scheduling_group_id and io_priority_class_id, respectively. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
5.3 KiB
5.3 KiB