Add discard option for volume to help nova to decide whether to enable discard when attaching volume
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
- Started by
- Completed by
- Sean McGinnis
Related branches
Related bugs
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:/
Addressed by: https:/
volume discard option
Work Items
Dependency tree
* Blueprints in grey have been implemented.