manila/releasenotes/notes/bug-1639188-fix-extend-operation-of-shrinked-share-in-generic-driver-5c7f82faefaf26ea.yaml
Xiaoyang Zhang 77a0349adc Fix extend operation of shrinked share in generic driver
If a share is shrank from 10G to 5G, the volume is still 10G.
This share`s size display is 5G, but the share extend newsize
must be > 10G in the old code. So, I think only need to perform
resize_filesystem when the share extend newsize <= volume size.
The volume extension is performed only when new size larger than
volume size.

Change-Id: I7e49b446445b8005e2eb23e1d439354eb24915e0
Close-Bug: #1639188
2016-11-21 15:01:58 +08:00

8 lines
286 B
YAML

---
fixes:
- In the Generic driver, the backing volume size is
greater than the share size when the share has been
shrunk. So share extend logic in this driver was
changed to only extend the backing volume if its
size is less than the size of the new, extended share.