]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: Fix error handling during online processing
authorJan Höppner <hoeppner@linux.ibm.com>
Tue, 1 Oct 2019 15:34:38 +0000 (17:34 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Oct 2019 15:53:36 +0000 (09:53 -0600)
commite3bd5a8b0f268728b0b143e514b8a5a88ad8c44f
tree8ea02a1799b714c97526e96c9e69a50feeb5d053
parent986f2d207a4d51b9d6b592058e6e4e3bba3ccc20
s390/dasd: Fix error handling during online processing

It is possible that the CCW commands for reading volume and extent pool
information are not supported, either by the storage server (for
dedicated DASDs) or by z/VM (for virtual devices, such as MDISKs).

As a command reject will occur in such a case, the current error
handling leads to a failing online processing and thus the DASD can't be
used at all.

Since the data being read is not essential for an fully operational
DASD, the error handling can be removed. Information about the failing
command is sent to the s390dbf debug feature.

Fixes: 21a8438b2055 ("s390/dasd: Recognise data for ESE volumes")
Cc: <stable@vger.kernel.org> # 5.3
Reported-by: Frank Heimes <frank.heimes@canonical.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c