linux_dsm_epyc7002/drivers/s390
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
..
block s390/dasd: Add discard support for FBA devices 2017-08-29 16:31:26 +02:00
char s390/vmcp: simplify vmcp_response_free() 2017-08-29 16:29:02 +02:00
cio s390/cio: add const to bin_attribute structures 2017-08-03 13:16:30 +02:00
crypto s390/zcrypt: make CPRBX const 2017-08-29 16:31:25 +02:00
net s390/qeth: constify attribute_group structures. 2017-07-26 08:25:19 +02:00
scsi SCSI misc on 20170220 2017-02-21 11:51:42 -08:00
virtio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-05-16 09:24:44 -07:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00