[PATCH] s390: don't pad cdl blocks for write requests
authorHorst Hummel <horst.hummel@de.ibm.com>
Sun, 1 May 2005 15:58:59 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:59 +0000 (08:58 -0700)
commitec5883abebb2e249ea8d318cb58fb4b2c269cf10
tree6a7e08e8247f06e05f3889907b3683b09c21ea78
parent6ed93c827eea181d87ce078cd1d671128c030b5a
[PATCH] s390: don't pad cdl blocks for write requests

The first blocks on a cdl formatted dasd device are smaller than the blocksize
of the device.  Read requests are padded with a 'e5' pattern.  Write requests
should not pad the (user) buffer with 'e5' because a write request is not
allowed to modify the buffer.

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_eckd.c