diff options
author | 2013-05-31 17:40:44 -0500 | |
---|---|---|
committer | 2013-07-03 15:32:41 -0700 | |
commit | 82a442d239695a242c4d584464c9606322cd02aa (patch) | |
tree | 50ce1f9db9ecede73a92fc6ce1680e340495fee1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: set removing flag while holding list lock (diff) | |
download | linux-dev-82a442d239695a242c4d584464c9606322cd02aa.tar.xz linux-dev-82a442d239695a242c4d584464c9606322cd02aa.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions