Hi Andreas, I don't understand the time slicing algorithm to well, but from the blk-mq integration perspective this looks nice, and anything that helps improving blk-mq for spinning rust is useful. As a nitpick some of the larger "if (use_time_slice)" blocks should be moved into separate helper functions‥ -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html