]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Support over subscription in thin provisioning
authorBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Wed, 11 Mar 2015 12:06:04 +0000 (17:36 +0530)
committerBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Mon, 27 Apr 2015 11:04:23 +0000 (16:34 +0530)
commitf119a62e60f5689b013203d4900aaeead6bff555
treea9a9a6402b81138c1b880ac4910097f20c7e0600
parentfac178fd58f06c146d96711e454c9397a574d15f
GlusterFS: Support over subscription in thin provisioning

This patch adds "over subscription in thin provisioning" support to
GlusterFS driver.

The following changes are proposed:
* GlusterFS driver reports the following new capacities and ratios:
  * provisioned_capacity
  * max_over_subscription_ratio
  * thin_provisioning_support (True or False)
  * thick_provisioning_support (True or False)

Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com>
Implements: blueprint glusterfs-over-subscription-thin-provisioning
Change-Id: I7fbbe989c865dce42102b63f7d52a8edb63e7a9e
cinder/tests/unit/test_glusterfs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py