Merge "rbd: fix chunk size units"

This commit is contained in:
Jenkins 2014-09-17 12:55:24 +00:00 committed by Gerrit Code Review
commit da40c9f0a7

@ -189,7 +189,7 @@ class Store(driver.Store):
"""
try:
chunk = self.conf.glance_store.rbd_store_chunk_size
self.chunk_size = chunk * (1024 ^ 2)
self.chunk_size = chunk * (1024 ** 2)
self.READ_CHUNKSIZE = self.chunk_size
self.WRITE_CHUNKSIZE = self.READ_CHUNKSIZE