When removing VLANs, get a new lock on the edit buffer for each VLAN
we're going to remove. We used to do all VLANs in one lock for performace reasons - however, I'm discovering that the lock can get held for such a long time when many VLANs are being deleted that other VLAN operations, such as listing VLANs, can fail. And, it's not actually that much slower to grab a new lock each time.
Please register or sign in to comment