linux/drivers/s390/block
Jan Höppner 28b841b3a7 s390/dasd: Add discard support for FBA devices
The z/VM hypervisor provides virtual disks (VDISK) which are backed by
main memory of the hypervisor. Those devices are seen as DASD FBA disks
within the Linux guest.

Whenever data is written to such a device, memory is allocated
on-the-fly by z/VM accordingly. This memory, however, is not being freed
if data on the device is deleted by the guest OS.

In order to make memory usable after deletion again, add discard support
to the FBA discipline.

While at it, update comments regarding the DASD_FEATURE_* flags.

Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-08-29 16:31:26 +02:00
..
dasd_3990_erp.c s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd_alias.c s390/dasd: remove unneeded code 2017-07-05 07:35:29 +02:00
dasd_devmap.c s390/dasd: Add discard support for FBA devices 2017-08-29 16:31:26 +02:00
dasd_diag.c s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd_diag.h s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
dasd_eckd.c s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd_eckd.h s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd_eer.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dasd_erp.c s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd_fba.c s390/dasd: Add discard support for FBA devices 2017-08-29 16:31:26 +02:00
dasd_fba.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd_genhd.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dasd_int.h s390/dasd: Add discard support for FBA devices 2017-08-29 16:31:26 +02:00
dasd_ioctl.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dasd_proc.c s390/dasd: Change unsigned long long to unsigned long 2017-08-23 13:31:51 +02:00
dasd.c s390/dasd: Add discard support for FBA devices 2017-08-29 16:31:26 +02:00
dcssblk.c libnvdimm for 4.13 2017-07-07 09:44:06 -07:00
Kconfig s390/scm: remove cluster option 2017-06-12 16:25:55 +02:00
Makefile s390/scm: remove cluster option 2017-06-12 16:25:55 +02:00
scm_blk.c s390/scm: use common completion path 2017-08-09 09:09:42 -04:00
scm_blk.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-07-03 15:39:36 -07:00
scm_drv.c s390/scm_block: fix printk format string 2013-03-21 13:35:37 +01:00
xpram.c blk: remove bio_set arg from blk_queue_split() 2017-06-18 12:40:59 -06:00