aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/switch_to.h
diff options
context:
space:
mode:
authorStefan Weinhuber <wein@de.ibm.com>2013-08-16 15:57:32 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-08-22 12:20:09 +0200
commit558b9ef00e128b2c97df6e4243152af3d0da3653 (patch)
treef017c9b3613ea9779bc23371731e217ceac2676a /arch/s390/include/asm/switch_to.h
parents390/mm: introduce ptep_flush_lazy helper (diff)
downloadlinux-dev-558b9ef00e128b2c97df6e4243152af3d0da3653.tar.xz
linux-dev-558b9ef00e128b2c97df6e4243152af3d0da3653.zip
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>
Diffstat (limited to 'arch/s390/include/asm/switch_to.h')
0 files changed, 0 insertions, 0 deletions