diff options
author | Alex Elder <elder@inktank.com> | 2013-05-31 17:40:44 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-03 15:32:41 -0700 |
commit | 82a442d239695a242c4d584464c9606322cd02aa (patch) | |
tree | 50ce1f9db9ecede73a92fc6ce1680e340495fee1 /tools/perf/scripts/python/sched-migration.py | |
parent | 751cc0e3cfabdda87c4c21519253c6751e97a8d4 (diff) |
rbd: protect against concurrent unmaps
Make sure two concurrent unmap operations on the same rbd device
won't collide, by only proceeding with the removal and cleanup of a
device if is not already underway.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions