[S390] dasd: add hyper PAV support to DASD device driver, part 1
authorStefan Weinhuber <wein@de.ibm.com>
Sat, 26 Jan 2008 13:11:23 +0000 (14:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 26 Jan 2008 13:11:28 +0000 (14:11 +0100)
commit8e09f21574ea3028d5629e5de759e0b196c690c5
treeced4feb1847ee6c2a7b7b4cec8f3118f83d3a386
parent0ac30be461084f30ad6e22c6b91347e880ed41aa
[S390] dasd: add hyper PAV support to DASD device driver, part 1

Parallel access volumes (PAV) is a storage server feature, that allows
to start multiple channel programs on the same DASD in parallel. It
defines alias devices which can be used as alternative paths to the
same disk. With the old base PAV support we only needed rudimentary
functionality in the DASD device driver. As the mapping between base
and alias devices was static, we just had to export an identifier
(uid) and could leave the combining of devices to external layers
like a device mapper multipath.
Now hyper PAV removes the requirement to dedicate alias devices to
specific base devices. Instead each alias devices can be combined with
multiple base device on a per request basis. This requires full
support by the DASD device driver as now each channel program itself
has to identify the target base device.
The changes to the dasd device driver and the ECKD discipline are:
- Separate subchannel device representation (dasd_device) from block
  device representation (dasd_block). Only base devices are block
  devices.
- Gather information about base and alias devices and possible
  combinations.
- For each request decide which dasd_device should be used (base or
  alias) and build specific channel program.
- Support summary unit checks, which allow the storage server to
  upgrade / downgrade between base and hyper PAV at runtime (support
  is mandatory).

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
18 files changed:
drivers/s390/block/Makefile
drivers/s390/block/dasd.c
drivers/s390/block/dasd_3370_erp.c [deleted file]
drivers/s390/block/dasd_3990_erp.c
drivers/s390/block/dasd_9336_erp.c [deleted file]
drivers/s390/block/dasd_9343_erp.c [deleted file]
drivers/s390/block/dasd_alias.c [new file with mode: 0644]
drivers/s390/block/dasd_devmap.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_eckd.h
drivers/s390/block/dasd_eer.c
drivers/s390/block/dasd_erp.c
drivers/s390/block/dasd_fba.c
drivers/s390/block/dasd_genhd.c
drivers/s390/block/dasd_int.h
drivers/s390/block/dasd_ioctl.c
drivers/s390/block/dasd_proc.c