extend and shrink share with glusterfs volume layout
Implement extend and shrink share APIs for glusterfs volume layout.
Volume size might exceed share size. In that case, GlusterFS quota can be used to enforce the declared size limit for the share, cf. https:/
Share extension could be tried in the same way -- by increasing the quota; the problem with this idea is that it works only if volume size does exceed share size to the specified degree, which is too
much a gamble to be a suitable base for implementing the extend method.
However, there is one more circumstance that we can exploit to leverage this mechanism in a more regular manner: with a typical setup of GlusterFS volume layout, the volume pool will consist of *thin provisioned* volumes. Therefore it's possible without wasting storage capacity to assign a volume V to share S so that the nominal size of V is much larger than the requested size of S. If this is done strategically, we can turn it into a share extension mechanism.
The plan is as follows: we introduce two options,
- glusterfs_
- glusterfs_
That means we can guarantee the success of extension requests up to glusterfs_
Current behavior can be obtained with glusterfs_
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Ramana Raja
- Direction:
- Needs approval
- Assignee:
- Csaba Henk
- Definition:
- Obsolete
- Series goal:
- Proposed for liberty
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Goutham Pacha Ravi