Add discard support for ceph backends
diff --git a/cinder/files/backend/_ceph.conf b/cinder/files/backend/_ceph.conf
index c57483d..524bb6b 100644
--- a/cinder/files/backend/_ceph.conf
+++ b/cinder/files/backend/_ceph.conf
@@ -47,3 +47,9 @@
 # cluster. If value < 0, no timeout is set and default
 # librados value is used. (integer value)
 #rados_connect_timeout=-1
+
+# Report to clients of Cinder that the backend supports discard (aka.
+# trim/unmap). This will not actually change the behavior of the backend or the
+# client directly, it will only notify that it can be used. (boolean value)
+#report_discard_supported = false
+report_discard_supported={{ backend.get('report_discard_supported', False)|lower }}