]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Scality SOFS: don't always read /proc/mounts twice
authorJordan Pittier <jordan.pittier@scality.com>
Fri, 27 Nov 2015 17:32:21 +0000 (18:32 +0100)
committerJordan Pittier <jordan.pittier@scality.com>
Mon, 4 Jan 2016 15:35:54 +0000 (15:35 +0000)
commite4daac6012a0166b246c495e7fc915bccf47513f
tree95ef1f2f950ef7a576065400a49e52d0b2369195
parent7df01a599ac40b28ad8bd753660d9a466cec6250
Scality SOFS: don't always read /proc/mounts twice

If the Scale Out FS is correcty mounted and found in /proc/mounts
then there's no need to read /proc/mounts again.

Change-Id: I8fa33cc80d2491d98986053f678cdf7983132bf9
cinder/tests/unit/test_scality.py
cinder/volume/drivers/scality.py