s390/dasd: add autoquiesce event for start IO error
authorStefan Haberland <sth@linux.ibm.com>
Wed, 5 Apr 2023 14:20:16 +0000 (16:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Apr 2023 01:53:08 +0000 (19:53 -0600)
commitd9ee2bee4a63844cd9d1e0d00b1e3c49eacd1c2f
tree486679044236c47e415443e109bfef76bb817f2b
parent0c1a14748133024a33aa8ffd763ca7f5c03bb27e
s390/dasd: add autoquiesce event for start IO error

Add a check for errors in the start_io function that signal a not
working device. Trigger an autoquiesce event in that case.

Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Link: https://lore.kernel.org/r/20230405142017.2446986-7-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd.c