diff options
| author | 2012-02-02 08:13:29 -0600 | |
|---|---|---|
| committer | 2012-03-22 10:47:47 -0500 | |
| commit | 499afd5b8e742792fda6bd7730c738ad83aecf6b (patch) | |
| tree | a3cac0fa73a3251e80d8c6eb2e0eb9addbcc5e22 /tools/lib/python/kdoc/python_version.py | |
| parent | rbd: protect the rbd_dev_list with a spinlock (diff) | |
rbd: tie rbd_dev_list changes to rbd_id operations
The only time entries are added to or removed from the global
rbd_dev_list is exactly when a "put" or "get" operation is being
performed on a rbd_dev's id. So just move the list management code
into get/put routines.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
