s390/dasd: prevent incorrect length error under z/VM after PAV changes
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 15 Dec 2015 09:16:43 +0000 (10:16 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 1 Apr 2016 00:54:32 +0000 (01:54 +0100)
commit809216deaa2c3e3212a1f3d07cf1f102569fa698
tree94aedf3568396ed3e220fafa9a7af3edb2f00002
parent751a5cf7c9ab11b54c97fdee372b5d57aba66224
s390/dasd: prevent incorrect length error under z/VM after PAV changes

commit 020bf042e5b397479c1174081b935d0ff15d1a64 upstream.

The channel checks the specified length and the provided amount of
data for CCWs and provides an incorrect length error if the size does
not match. Under z/VM with simulation activated the length may get
changed. Having the suppress length indication bit set is stated as
good CCW coding practice and avoids errors under z/VM.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/s390/block/dasd_alias.c