[PATCH] s390: dasd diag with block sizes > 512
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Mon, 7 Nov 2005 08:59:08 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:34 +0000 (07:53 -0800)
commit1e0291bade7678efe4d3ab70ed14bd7bd216bcef
tree5f8a47c016e2f84fcb22c106666c680e7b19173c
parent86b368a5804d05a6508791f10ebabf7b779eb845
[PATCH] s390: dasd diag with block sizes > 512

Access to FBA disks via DIAG fails for block sizes > 512 byte.  The device
analysis code of the DIAG discipline does not properly initialize the DIAG250
device environment after completion of the analysis.  This results in VM only
serving 512 bytes per block I/O request whereas Linux expects larger block
sizes.  Add proper device environment setup to end of analysis code.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/block/dasd_diag.c