Comment 3 for bug 1639188

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/393589
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=77a0349adc0a529b52c50347d1df3cca21a6dcfd
Submitter: Jenkins
Branch: master

commit 77a0349adc0a529b52c50347d1df3cca21a6dcfd
Author: Xiaoyang Zhang <email address hidden>
Date: Mon Nov 14 17:08:33 2016 +0800

    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