]> 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)
commit0cf15a973a4d8325acdd69fe0270783a18b3b783
tree8ea02a1799b714c97526e96c9e69a50feeb5d053
parentaa3297c2c8e77386b1ab6f0e6a062318cdd3780f
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: 00cc32f1009c ("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