Patrick East 63e54b80d0 Add config option to enable reporting discard
The way for a client of Cinder (read: Nova) to know whether or not it
can and should use the discard feature for the block device attachment
is to report back discard=True in the connection info. Previously a
driver would need to be updated to provide this functionality, which is
kind of a pain with so many drivers in Cinder.

This change adds a shared boolean config option called
‘report_discard_supported’ which can be set to enable reporting this
functionality to the caller of initialize_connection.

DocImpact
Change-Id: I078e74583621316bcfe138096507e7d22af0d712
Implements: blueprint discard-config-option
2015-12-21 10:08:45 -08:00
..
2015-12-11 21:23:48 +00:00
2015-10-19 14:37:39 +02:00
2015-12-15 06:27:06 +00:00
2015-12-11 21:23:48 +00:00
2013-12-30 18:53:02 -06:00
2015-12-11 21:23:48 +00:00
2015-08-25 04:46:18 -07:00
2015-08-26 12:00:15 -07:00
2015-12-11 21:23:48 +00:00
2015-06-15 10:29:22 +02:00
2015-11-20 14:34:21 +01:00
2013-12-30 18:53:02 -06:00