Add ability for Cinder backend to report discard/unmap/trim

Registered by Danny Wilson on 2015-07-24

Add the ability for Cinder backends to report support for discard capability. If a backend driver supports discard it can add a "discard": True entry in the connection properties returned from initialize_connection. This will be used by Nova to ensure any attached volumes have support for this functionality. A separate Nova patch is in the works as well.

Blueprint information

Status:
Complete
Approver:
Mike Perez
Priority:
Low
Drafter:
Danny Wilson
Direction:
Approved
Assignee:
Pure Storage Openstack Team
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 7.0.0
Started by
Mike Perez on 2015-08-01
Completed by
Mike Perez on 2015-08-15

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/cinder-backend-report-discard,n,z

Addressed by: https://review.openstack.org/205714
    Add ability for Cinder backend to report discard/unmap/trim

Addressed by: https://review.openstack.org/205717
    Add discard to connection properties for Pure Storage

Addressed by: https://review.openstack.org/211583
    Update for ability of backend to report discard/trim/unmap

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.