From: Olaf Hering Date: Wed, 21 May 2014 14:32:42 +0000 (+0200) Subject: xen/blkback: disable discard feature if requested by toolstack X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~47^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c926b701fede80ecd6f68887d5485bb620758721;p=pandora-kernel.git 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 Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed