@dunkelstern Can't you rate limit the block devices of disks instead?
@dunkelstern Hm~ I thought that devicemapper had an interposer that does that, but now I can only find dm-delay which isn't helpful here.
@robryk After further thinking it through: No block device throttling would give me nothing as the kernel itself could create high-bandwidth throughput (btrfs rebalance/scrub for example) and cgroups for example cannot throttle that.
@dunkelstern If there was a dm-throttle, it would also throttle everything the fs driver would be doing in its own name (and any kernel thread in general).
@robryk if that's possible it should probably work as the problem is not the usb controller but the disks themselves. Do you know how to do that?