Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
- Loading branch information