Add discard option for volume to help nova to decide whether to enable discard when attaching volume

Registered by boh.ricky

Qemu/libvirt has supported enable discard option when attaching volume to an instance.
With this option, the unamp/trim request can be forward to the storage device.

Some storage device is suitable to enable the discard option ,fox example the volume backed on SSD storage.
And others maybe not suitable.

So we need the volume to has a attribute to tell nova whether we should enable the discard option when attaching them to an instance .

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Medium
Drafter:
boh.ricky
Direction:
Approved
Assignee:
boh.ricky
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.

2015-01-05 <thingee>: Removing target for k-2. This spec is not even approved.

Gerrit topic: https://review.openstack.org/#q,topic:bp/volume-discard-option,n,z

Addressed by: https://review.openstack.org/106084
    volume discard option

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.