summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2014-05-21 16:32:42 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-05-28 20:17:28 +0200
commitc926b701fede80ecd6f68887d5485bb620758721 (patch)
treea12507e65eab2908a84a91cc44e8d448b570bc62 /include
parentxen-blkfront: remove type check from blkfront_setup_discard (diff)
downloadlinux-c926b701fede80ecd6f68887d5485bb620758721.tar.xz
linux-c926b701fede80ecd6f68887d5485bb620758721.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions