Always use new_size when extend
Always use new_size when extend. Closes-Bug: #1909951 Change-Id: Ic5faa887448f363bb4d91bccfe8e035a06936454
This commit is contained in:
parent
249904842c
commit
fbc4ecb640
@ -667,7 +667,7 @@ class GenericShareDriver(driver.ExecuteMixin, driver.ShareDriver):
|
|||||||
server_details['instance_id'],
|
server_details['instance_id'],
|
||||||
volume)
|
volume)
|
||||||
|
|
||||||
self._resize_filesystem(server_details, volume)
|
self._resize_filesystem(server_details, volume, new_size=new_size)
|
||||||
self._mount_device(share, server_details, volume)
|
self._mount_device(share, server_details, volume)
|
||||||
helper.restore_access_after_maintenance(server_details,
|
helper.restore_access_after_maintenance(server_details,
|
||||||
share['name'])
|
share['name'])
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed a bug that if extend a volume after shrink it under generic
|
||||||
|
driver, it may have a wrong real size. Please see
|
||||||
|
`Launchpad bug <https://bugs.launchpad.net/manila/+bug/1909951>`_
|
||||||
|
for more details.
|
Loading…
Reference in New Issue
Block a user