diff options
author | Alex Elder <elder@inktank.com> | 2013-05-31 17:40:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 12:24:25 -0800 |
commit | 7aa73ee13251af1534de166ea5379f32a6bf7793 (patch) | |
tree | fbd0161f39acac30d75737a5c0e6aab2c080b75f /include/linux | |
parent | c4d00f5b3e1f48f99d99d813fe8071c719e1790b (diff) | |
download | lwn-7aa73ee13251af1534de166ea5379f32a6bf7793.tar.gz lwn-7aa73ee13251af1534de166ea5379f32a6bf7793.zip |
rbd: protect against concurrent unmaps
commit 82a442d239695a242c4d584464c9606322cd02aa upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions