linux/drivers/block/xen-blkback
Olaf Hering c926b701fe xen/blkback: disable discard feature if requested by toolstack
Newer toolstacks may provide a boolean property "discard-enable" in the
backend node. Its purpose is to disable discard for file backed storage
to avoid fragmentation. Recognize this setting also for physical
storage.  If that property exists and is false, do not advertise
"feature-discard" to the frontend.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2014-05-28 14:17:28 -04:00
..
blkback.c xen-blkback: init persistent_purge_work work_struct 2014-02-11 20:34:03 -07:00
common.h xen-blkback: init persistent_purge_work work_struct 2014-02-11 20:34:03 -07:00
Makefile xen/blkback: Squash vbd.c,interface.c in blkback.c and xenbus.c respectivly. 2011-04-20 11:57:59 -04:00
xenbus.c xen/blkback: disable discard feature if requested by toolstack 2014-05-28 14:17:28 -04:00