Files
linux/arch/s390/include/asm
Alexandra Winter d2b59bd4b0 s390/qeth: fix deadlock during failing recovery
Commit 0b9902c1fc ("s390/qeth: fix deadlock during recovery") removed
taking discipline_mutex inside qeth_do_reset(), fixing potential
deadlocks. An error path was missed though, that still takes
discipline_mutex and thus has the original deadlock potential.

Intermittent deadlocks were seen when a qeth channel path is configured
offline, causing a race between qeth_do_reset and ccwgroup_remove.
Call qeth_set_offline() directly in the qeth_do_reset() error case and
then a new variant of ccwgroup_set_offline(), without taking
discipline_mutex.

Fixes: b41b554c1e ("s390/qeth: fix locking for discipline setup / removal")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-09-21 20:02:24 -07:00
..
2021-01-19 12:29:26 +01:00
2021-07-27 09:39:15 +02:00
2020-08-26 18:47:21 +02:00
2021-09-08 15:32:35 -07:00
2021-07-27 09:39:15 +02:00
2021-01-19 12:29:26 +01:00
2021-08-25 11:03:35 +02:00
2020-12-16 14:55:49 +01:00
2021-08-05 14:10:53 +02:00
2021-08-05 14:10:53 +02:00
2021-08-03 14:31:40 +02:00
2021-05-07 00:26:34 -07:00
2019-02-05 14:29:23 +01:00
2021-06-18 16:41:19 +02:00
2021-07-30 17:09:02 +02:00
2020-01-30 13:07:55 +01:00
2021-08-05 14:10:53 +02:00
2021-08-03 14:31:40 +02:00
2020-02-27 16:02:21 +01:00
2021-08-18 10:01:28 +02:00
2021-07-01 11:06:03 -07:00
2019-02-07 18:06:18 -08:00
2020-09-14 11:38:35 +02:00
2021-08-05 14:10:53 +02:00
2020-09-26 15:51:21 +02:00
2021-06-28 11:18:28 +02:00
2021-06-28 11:18:28 +02:00
2021-06-18 16:41:21 +02:00
2021-09-08 15:32:35 -07:00
2019-07-23 10:45:53 +02:00
2021-07-08 15:37:28 +02:00
2021-01-19 12:29:26 +01:00