commit | 82a442d239695a242c4d584464c9606322cd02aa | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri May 31 17:40:44 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed Jul 03 15:32:41 2013 -0700 |
tree | 50ce1f9db9ecede73a92fc6ce1680e340495fee1 | |
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>