]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Storwize/SVC LUN allocation with holes.
authorAvishay Traeger <avishay@il.ibm.com>
Tue, 19 Mar 2013 07:42:06 +0000 (09:42 +0200)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 22 Mar 2013 03:57:56 +0000 (21:57 -0600)
commit9ff5bf692e09bfadd9ed10eeec8160af4d2662a6
treee0666d416026fd468b3d3d846d231c85186af638
parent36e4e85b1f669a9fed873f4a43c783947430c763
Fix Storwize/SVC LUN allocation with holes.

The Storwize/SVC driver should find the first unused LUN, but
continues searching, returning erroneous results.  Added 'break'
statement to fix.

Change-Id: Ibd95714e086a513a39fe9d20ffec57135dc5ec55
Fixes: bug 1157012
(cherry picked from commit e0878c86207d5ff5c2ebaa69eac454af545925ef)
cinder/volume/drivers/storwize_svc.py