Alberto Garcia
ef7a6a3c2a
qemu-iotests: Test removing a throttle group member with a pending timer
...
A throttle group can have several members, and each one of them can
have several pending requests in the queue.
The requests are processed in a round-robin fashion, so the algorithm
decides the drive that is going to run the next request and sets a
timer in it. Once the timer fires and the throttled request is run
then the next drive from the group is selected and a new timer is set.
If the user tried to remove a drive from a group and that drive had a
timer set then the code was not taking care of setting up a new timer
in one of the remaining members of the group, freezing their I/O.
This problem was fixed in 6fccbb475bc6effc313ee9481726a1748b6dae57,
and this patch adds a new test case that reproduces this exact
scenario.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-08-15 12:50:39 +02:00
..
2018-06-15 16:10:11 -03:00
2018-08-03 11:35:21 +03:00
2018-02-22 15:44:07 -08:00
2018-07-24 11:45:25 +01:00
2018-06-08 14:39:24 -03:00
2018-06-08 14:39:24 -03:00
2018-06-25 16:50:48 -04:00
2018-06-08 14:39:24 -03:00
2018-03-21 15:13:40 +01:00
2018-07-05 11:25:14 +01:00
2018-08-15 12:50:39 +02:00
2018-07-31 09:57:25 +02:00
2018-06-08 14:39:24 -03:00
2018-07-24 11:45:25 +01:00
2018-01-16 14:54:52 +01:00
2018-07-10 14:36:11 +02:00
2018-06-28 19:05:31 +02:00
2018-07-02 15:41:17 +02:00
2018-07-02 15:41:17 +02:00
2018-07-02 15:41:17 +02:00
2018-06-11 22:19:57 +03:00
2018-02-14 11:43:41 +01:00
2018-06-08 13:17:39 -04:00
2018-02-14 11:43:41 +01:00
2018-06-29 13:02:50 +02:00
2018-06-08 13:17:39 -04:00
2018-06-22 16:33:46 +02:00
2018-06-15 14:49:44 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-07-28 09:09:58 +02:00
2018-07-28 09:09:58 +02:00
2018-05-04 08:27:53 +02:00
2018-07-03 13:04:38 +01:00
2018-07-03 13:04:38 +01:00
2018-07-24 17:33:39 +01:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2017-10-20 13:32:10 +02:00
2018-02-14 11:43:41 +01:00
2018-07-10 14:36:12 +02:00
2018-02-14 11:43:02 +01:00
2018-07-10 14:36:11 +02:00
2018-02-09 13:50:17 +01:00
2017-10-20 13:32:10 +02:00
2018-06-29 12:22:28 +01:00
2018-06-04 10:15:16 +01:00
2018-05-30 13:19:14 -03:00
2017-10-20 13:32:10 +02:00
2018-05-20 08:48:13 +03:00
2018-05-04 08:27:53 +02:00
2018-07-05 15:59:41 +01:00
2018-02-14 11:43:41 +01:00
2018-07-24 17:21:55 +01:00
2018-07-16 15:38:19 +02:00
2018-06-08 13:15:32 +01:00
2018-01-17 09:35:24 +11:00
2017-10-20 13:32:10 +02:00
2018-07-09 14:51:34 +01:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-05-04 08:27:53 +02:00
2018-06-15 07:42:55 -10:00
2018-07-16 15:38:19 +02:00
2018-05-04 08:27:53 +02:00
2018-03-12 16:12:47 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:02 +01:00
2018-03-06 14:01:27 +01:00
2018-03-13 18:06:06 +00:00
2018-03-13 18:06:06 +00:00
2018-05-04 08:27:53 +02:00
2018-02-09 13:50:17 +01:00
2018-03-27 13:05:28 +01:00
2018-07-10 10:36:15 +02:00
2018-03-02 18:39:07 +01:00
2018-05-30 13:31:01 +02:00
2018-05-30 13:31:01 +02:00
2018-06-01 15:13:46 +02:00
2018-02-09 13:52:15 +01:00
2018-02-08 09:22:03 +08:00
2017-11-08 11:03:46 +00:00
2018-07-24 17:35:57 +01:00
2018-07-24 17:36:12 +01:00
2018-07-02 15:41:10 +02:00
2017-10-20 13:32:10 +02:00
2018-02-07 14:09:25 +01:00
2018-06-18 17:04:56 +02:00
2018-03-05 10:30:15 +08:00
2018-02-15 16:54:57 +00:00
2018-03-13 18:06:06 +00:00
2018-07-24 17:35:57 +01:00
2018-03-06 10:19:05 +00:00
2018-07-02 15:41:10 +02:00
2018-05-04 08:27:53 +02:00
2018-02-09 05:05:11 +01:00
2018-07-02 15:41:10 +02:00
2018-07-05 11:25:14 +01:00
2018-06-15 07:42:55 -10:00
2018-07-05 11:25:14 +01:00
2018-06-29 12:22:28 +01:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-06-15 14:49:44 +02:00
2018-02-09 13:52:15 +01:00
2018-02-10 10:45:14 +03:00
2018-05-20 08:48:13 +03:00
2018-07-23 14:00:03 +02:00
2017-12-20 22:01:24 +08:00
2018-05-04 08:27:53 +02:00
2018-07-24 17:35:23 +01:00
2018-05-04 08:27:53 +02:00
2018-06-08 13:15:32 +01:00
2018-06-06 15:44:07 -04:00
2018-03-29 17:41:03 -04:00
2018-05-20 08:38:38 +03:00
2018-06-29 12:22:28 +01:00
2018-06-06 15:44:07 -04:00
2018-06-06 15:44:07 -04:00
2018-06-06 15:44:12 -04:00
2018-02-21 07:24:50 -05:00
2018-06-06 15:44:12 -04:00
2018-06-06 15:44:12 -04:00
2018-02-14 11:43:02 +01:00
2018-02-14 11:43:41 +01:00
2018-06-12 12:07:30 +02:00
2018-05-24 21:14:11 +03:00
2018-07-16 16:58:16 +02:00
2018-02-14 11:43:41 +01:00
2017-10-20 13:32:10 +02:00
2018-02-14 11:43:41 +01:00
2017-10-20 13:32:10 +02:00
2018-05-04 08:27:53 +02:00
2018-03-12 16:12:46 +01:00
2017-10-20 13:32:10 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00