Revision ff513ace9b772e75e337f8e058cc7f12816843fe authored by Ilya Dryomov on 03 February 2014, 11:56:33 UTC, committed by Sage Weil on 07 February 2014, 18:45:53 UTC
Handling redirect replies requires both map_sem and request_mutex. Taking map_sem unconditionally near the top of handle_reply() avoids possible race conditions that arise from releasing request_mutex to be able to acquire map_sem in redirect reply case. (Lock ordering is: map_sem, request_mutex, crush_mutex.) Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
1 parent 0bbfdfe
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 182 bytes |
vxp_mixer.c | -rw-r--r-- | 4.2 KB |
vxp_ops.c | -rw-r--r-- | 15.5 KB |
vxpocket.c | -rw-r--r-- | 8.3 KB |
vxpocket.h | -rw-r--r-- | 2.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...