commit | a14ea269dd6b5e48a2941ba73b202cd7cd5d716d | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Feb 05 13:23:12 2013 -0600 |
committer | Sage Weil <sage@inktank.com> | Wed Feb 13 18:29:11 2013 -0800 |
tree | c97e4fcb5c80c03f769cf7e2408d2c88e88d6d4b | |
parent | 9cbb1d7268afa997a7f96d779470cc57d28e1a13 [diff] |
rbd: turn off interrupts for open/remove locking This commit: bc7a62ee5 rbd: prevent open for image being removed added checking for removing rbd before allowing an open, and used the same request spinlock for protecting that and updating the open count as is used for the request queue. However it used the non-irq protected version of the spinlocks. Fix that. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>