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-- | 213 bytes |
pdaudiocf.c | -rw-r--r-- | 7.0 KB |
pdaudiocf.h | -rw-r--r-- | 5.2 KB |
pdaudiocf_core.c | -rw-r--r-- | 9.2 KB |
pdaudiocf_irq.c | -rw-r--r-- | 9.0 KB |
pdaudiocf_pcm.c | -rw-r--r-- | 7.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...