Mikulas Patocka 3d47eb4057 dm snapshot: fix lockup in dm_exception_table_exit
[ Upstream commit 6e7132ed3c07bd8a6ce3db4bb307ef2852b322dc ]

There was reported lockup when we exit a snapshot with many exceptions.
Fix this by adding "cond_resched" to the loop that frees the exceptions.

Reported-by: John Pittman <jpittman@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:19:39 +02:00
..
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2023-07-19 16:22:07 +02:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2023-07-19 16:22:07 +02:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2023-04-13 16:55:17 +02:00
2022-08-02 14:38:59 -07:00
2022-03-08 15:16:54 -08:00