linux/drivers/s390
Jan Höppner 91dc4a1975 s390/dasd: Add new ioctl to release space
Userspace tools might have the need to release space for Extent Space
Efficient (ESE) volumes when working with such a device.

Provide the necessarry interface for such a task by implementing a new
ioctl BIODASDRAS. The ioctl uses the format_data_t data structure for
data input:

typedef struct format_data_t {
        unsigned int start_unit;        /* from track */
        unsigned int stop_unit;         /* to track */
        unsigned int blksize;           /* sectorsize */
        unsigned int intensity;
} format_data_t;

If the intensity is set to 0x40, start_unit and stop_unit are ignored
and space for the entire volume is released. Otherwise, if intensity is
set to 0, the respective range is released (if possible).

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-07-11 20:39:54 +02:00
..
block s390/dasd: Add new ioctl to release space 2019-07-11 20:39:54 +02:00
char s390/sclp: remove call home support 2019-06-19 17:54:27 +02:00
cio s390 updates for the 5.3 merge window 2019-07-08 10:06:12 -07:00
crypto s390: ap: implement PAPQ AQIC interception in kernel 2019-07-02 16:00:28 +02:00
net s390 updates for the 5.3 merge window 2019-07-08 10:06:12 -07:00
scsi scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs) 2019-05-29 21:52:31 -04:00
virtio virtio/s390: make airq summary indicators DMA 2019-06-15 12:25:41 +02:00
Makefile