s390/dasd: Add new ioctl BIODASDCHECKFMT
authorJan Höppner <hoeppner@linux.vnet.ibm.com>
Wed, 19 Aug 2015 11:41:20 +0000 (13:41 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Apr 2016 16:16:39 +0000 (18:16 +0200)
commit8fd575200db5b53f6ea6818dd017f1b43190db12
tree670f65e645d0d669864979d13a5e91448b53f8ad
parent3fa7ee8844c31cb9c78992bb82cfaeb13375345d
s390/dasd: Add new ioctl BIODASDCHECKFMT

Implement new DASD IOCTL BIODASDCHECKFMT to check a range of tracks on a
DASD volume for correct formatting. The following characteristics are
checked:
- Block size
- ECKD key length
- ECKD record ID
- Number of records per track

Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/uapi/asm/dasd.h
drivers/s390/block/dasd.c
drivers/s390/block/dasd_3990_erp.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_eckd.h
drivers/s390/block/dasd_int.h
drivers/s390/block/dasd_ioctl.c