]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Minor Logic bug in NFS Driver.
authorMorgan Fainberg <m@metacloud.com>
Sat, 8 Jun 2013 00:18:59 +0000 (17:18 -0700)
committerMorgan Fainberg <m@metacloud.com>
Sat, 8 Jun 2013 00:32:42 +0000 (17:32 -0700)
commit4ecfcc3b17494845e3845d89246112743483f8cf
treea93665dd09b52eed0162553db2f386be6acb461d
parent4615161964dfc40950759b509dd11650313ff53b
Minor Logic bug in NFS Driver.

When checking oversubscription rate, we need to ensure that we
check the _allocated_ (apparant size) not the _available_ (actual
usage) on the NFS share.  This fix ensures we are now checking the
correct values.  This bug allowed (effectively) a one-time
volume allocation that would push the "apparant" size over the
oversubscription rate.

Change-Id: I189b689cb76ac2a243aa6e255ce0c80d86e247ce
Fixes: bug #1188877
cinder/volume/drivers/nfs.py