Benjamin Marzinski
8d24790ed0
dm-delay: fix workqueue delay_timer race
...
delay_timer could be pending when delay_dtr() is called. It needs to be
shut down before kdelayd_wq is destroyed, so it won't try queueing more
work to kdelayd_wq while that's getting destroyed.
Also the del_timer_sync() call in delay_presuspend() doesn't protect
against the timer getting immediately rearmed by the queued call to
flush_delayed_bios(), but there's no real harm if that does happen.
timer_delete() is less work, and is basically just as likely to stop a
pointless call to flush_delayed_bios().
Fixes: 26b9f228703f ("dm: delay target")
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
2024-05-09 09:10:58 -04:00
..
2024-03-14 18:03:09 -07:00
2024-04-10 11:46:40 -04:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2021-10-27 16:53:47 -04:00
2024-02-20 14:22:55 -05: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-02-20 14:22:55 -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-11-02 19:38:47 -10:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05: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-04-23 11:20:16 -04:00
2024-05-09 09:10:58 -04:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:55 -05: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-02-20 14:22:55 -05: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-03-29 09:48:07 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2023-10-06 19:09:25 -04:00
2024-02-20 14:22:55 -05: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-02-20 14:22:55 -05:00
2024-02-20 14:22:55 -05: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
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2024-03-13 09:38:10 -07:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2023-02-14 14:23:07 -05:00
2024-03-20 14:31:24 -04: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-04-23 11:20:16 -04: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
2024-02-20 14:22:55 -05: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
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-06-28 10:43:04 -07:00
2024-03-13 09:46:51 -07:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-03-02 10:30:36 -05:00
2024-02-20 14:22:55 -05:00
2023-04-11 12:09:08 -04:00
2023-06-16 18:24:13 -04:00
2024-02-12 08:41:16 -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-04-16 11:32:07 -04:00
2023-10-06 19:09:25 -04:00
2024-03-21 14:41:00 -07:00
2024-02-20 13:43:17 -05:00
2023-12-19 10:16:51 -08:00
2024-03-06 08:59:52 -08: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
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00
2024-03-06 08:59:53 -08:00
2023-06-30 15:43:50 -07:00
2024-02-29 22:49:46 -08:00
2024-03-06 08:59:53 -08:00
2024-02-29 22:49:45 -08:00
2023-11-27 15:49:05 -08:00
2022-08-02 17:14:31 -06:00
2024-03-06 08:59:53 -08:00
2024-03-11 11:43:44 -07:00
2023-11-27 15:49:05 -08:00
2024-03-11 11:43:44 -07:00
2023-07-27 00:13:29 -07:00