Allow per-driver utils configs specification
If we use multi-backend each of backend has its own configuration. In utils functions general configuration is currently used, not the backend one.
We should allow config option to be configurable on a per-driver basis. Drivers should pass config arguments from their own config to utils methods.
For example, we have two backends and these are parameters in the config:
[DEFAULT]
enabled_
[lvm_big]
volume_
volume_dd_size=100M
[lvm_small]
volume_
volume_dd_size=1M
So, we have two volume groups, one of them can be cleaned more effectively using 100M fragments and the second one can be cleaned more effectively using 1M fragments. After implemenation of this blueprint we will be able to set this parameter for each backend separately and let drivers work more effective.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Ann Taraday
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- 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.
Gerrit topic: https:/
Addressed by: https:/
Pass per-driver config to copy_volume