linux/drivers/s390
Stefan Weinhuber 558b9ef00e s390/dasd: enable raw_track_access reads without direct I/O
The ECKD protocol supports reading of tracks with arbitrary format as
raw track images. The DASD device driver supports this in its
raw_track_access mode. In this mode it maps each track to sixteen 4096
byte sectors and rejects all requests that are not properly aligned to
this mapping.

An application that wants to use a DASD in raw_track_access mode will
usually use direct I/O to make sure that properly aligned requests are
directly submitted to the driver. However, applications that are not
aware of this mode, e.g. udev, will encounter I/O errors.

To make the use without direct I/O possible and avoid this kind of
alignment errors, we now pad unaligned read requests with a dummy
page, so that we can always read full tracks.  Please note that
writing is still only possible for full track images that are properly
aligned.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-08-22 12:20:09 +02:00
..
block s390/dasd: enable raw_track_access reads without direct I/O 2013-08-22 12:20:09 +02:00
char s390/sclp: reword cpu capability change message 2013-08-22 12:20:07 +02:00
cio s390: convert interrupt handling to use generic hardirq 2013-08-22 12:20:04 +02:00
crypto s390/zcrypt: Alias for new zcrypt device driver base module 2013-07-19 08:37:39 +02:00
kvm Merge tag 'kvm-3.10-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2013-05-05 14:47:31 -07:00
net s390: replace strict_strtoul() with kstrtoul() 2013-08-22 12:20:00 +02:00
scsi [SCSI] zfcp: status read buffers on first adapter open with link down 2013-05-31 16:32:38 -07:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00