Benjamin Marzinski
32ea54b00b
dm-delay: fix max_delay calculations
...
[ Upstream commit 64eb88d6caee2c8eb806a68dab3f184f14f818a4 ]
delay_ctr() pointlessly compared max_delay in cases where multiple delay
classes were initialized identically. Also, when write delays were
configured different than read delays, delay_ctr() never compared their
value against max_delay. Fix these issues.
Fixes: 70bbeb29fab0 ("dm delay: for short delays, use kthread instead of timers and wq")
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:24 +02:00
..
2024-01-11 13:58:04 -08:00
2023-06-16 18:24:13 -04:00
2023-02-14 14:23:06 -05:00
2021-10-27 16:53:47 -04:00
2023-10-02 09:48:53 -07:00
2023-03-30 15:57:51 -04:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-03-26 18:17:38 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-11-02 19:38:47 -10:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-07-25 11:55:50 -04:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-06-12 08:04:05 -06:00
2021-04-19 13:20:31 -04:00
2020-03-27 14:42:51 -04:00
2023-06-12 08:04:05 -06:00
2024-01-30 14:05:02 -05:00
2024-02-20 13:35:47 -05:00
2024-05-30 09:49:24 +02:00
2023-04-11 12:09:08 -04:00
2023-04-11 12:09:08 -04:00
2023-06-12 08:04:05 -06:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-01-08 15:27:15 -08:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-06-05 10:57:40 -06:00
2024-04-10 16:38:00 +02:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-03-26 18:17:38 -04:00
2024-01-30 14:05:02 -05:00
2024-03-26 18:17:38 -04:00
2023-10-06 19:09:25 -04:00
2023-10-23 13:02:48 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-04-11 12:09:08 -04:00
2024-03-26 18:17:38 -04:00
2023-04-11 12:01:01 -04:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-03-26 18:17:38 -04:00
2024-04-03 15:32:14 +02:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-03-26 18:17:38 -04:00
2023-02-14 14:23:07 -05:00
2024-04-03 15:32:28 +02:00
2024-01-30 14:06:44 -05:00
2023-03-16 13:37:06 -04:00
2023-11-01 12:55:54 -10:00
2023-04-11 12:09:08 -04:00
2023-02-14 14:23:08 -05:00
2024-01-30 14:05:02 -05:00
2023-10-31 11:06:21 -04:00
2023-06-30 12:16:00 -07:00
2023-02-14 14:23:06 -05:00
2023-06-30 12:16:00 -07:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-04-11 12:09:08 -04:00
2023-11-29 12:58:06 -05:00
2023-02-14 14:23:06 -05:00
2023-06-28 10:43:04 -07:00
2024-03-26 18:17:38 -04:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 13:34:32 -05:00
2024-03-26 18:17:38 -04:00
2023-04-11 12:09:08 -04:00
2023-06-16 18:24:13 -04:00
2023-12-19 20:17:43 -07:00
2021-06-04 12:07:24 -04:00
2023-12-19 20:17:43 -07:00
2022-07-14 12:14:31 -06:00
2024-03-26 18:16:58 -04:00
2023-10-06 19:09:25 -04:00
2024-01-11 13:58:04 -08:00
2023-12-19 10:37:50 -08:00
2023-12-19 10:16:51 -08:00
2024-05-30 09:49:03 +02:00
2023-07-27 00:13:29 -07:00
2023-10-12 09:16:19 -07:00
2018-10-18 09:36:35 -07:00
2023-09-22 11:23:01 -07:00
2018-05-30 15:33:32 -06:00
2024-04-03 15:32:14 +02:00
2024-04-03 15:32:14 +02:00
2023-08-17 21:11:31 -07:00
2023-06-30 15:43:50 -07:00
2023-12-15 15:22:15 -08:00
2024-04-17 11:23:24 +02:00
2024-03-26 18:16:28 -04:00
2023-11-27 15:49:05 -08:00
2022-08-02 17:14:31 -06:00
2023-11-27 15:49:05 -08:00
2024-04-03 15:32:14 +02:00
2023-11-27 15:49:05 -08:00
2024-02-15 14:17:22 -08:00
2023-07-27 00:13:29 -07:00