diff options
| author | Michael Still <michael.still@canonical.com> | 2012-12-12 17:13:53 +1100 |
|---|---|---|
| committer | Michael Still <mikal@stillhq.com> | 2012-12-13 17:08:21 +1100 |
| commit | e4377fdb0ef2087a36d2b1fbee96543f735040de (patch) | |
| tree | 7279104c0590692964dcd3068087088f47ab8058 /nova/openstack | |
| parent | b963a93194c25f20db7eb87348ec1b61c06e7864 (diff) | |
| download | nova-e4377fdb0ef2087a36d2b1fbee96543f735040de.tar.gz nova-e4377fdb0ef2087a36d2b1fbee96543f735040de.tar.xz nova-e4377fdb0ef2087a36d2b1fbee96543f735040de.zip | |
Stop nbd leaks, remove pid race.
With the previous implementation, if a nbd device was found to be in
use by something other than nova it was removed from the class scoped
list of devices, but never re-added. This meant we "leaked" devices
away over time if we were competing with other nbd users on the
machine.
Instead of tracking our use at all, we should rely on the presence of
a user pid in /sys.
Resolves bug 1088083.
Change-Id: If777e270a0dda12034ea7ef1bc7fd688cadde8a9
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
