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 |
---|---|---|
6fire | ||
caiaq | ||
hiface | ||
misc | ||
usx2y | ||
Kconfig | -rw-r--r-- | 4.1 KB |
Makefile | -rw-r--r-- | 529 bytes |
card.c | -rw-r--r-- | 20.0 KB |
card.h | -rw-r--r-- | 6.3 KB |
clock.c | -rw-r--r-- | 11.6 KB |
clock.h | -rw-r--r-- | 339 bytes |
debug.h | -rw-r--r-- | 262 bytes |
endpoint.c | -rw-r--r-- | 30.4 KB |
endpoint.h | -rw-r--r-- | 1.3 KB |
format.c | -rw-r--r-- | 14.4 KB |
format.h | -rw-r--r-- | 292 bytes |
helper.c | -rw-r--r-- | 3.1 KB |
helper.h | -rw-r--r-- | 1.1 KB |
midi.c | -rw-r--r-- | 65.4 KB |
midi.h | -rw-r--r-- | 1.5 KB |
mixer.c | -rw-r--r-- | 65.3 KB |
mixer.h | -rw-r--r-- | 2.0 KB |
mixer_maps.c | -rw-r--r-- | 12.8 KB |
mixer_quirks.c | -rw-r--r-- | 42.8 KB |
mixer_quirks.h | -rw-r--r-- | 367 bytes |
pcm.c | -rw-r--r-- | 44.7 KB |
pcm.h | -rw-r--r-- | 379 bytes |
power.h | -rw-r--r-- | 375 bytes |
proc.c | -rw-r--r-- | 6.0 KB |
proc.h | -rw-r--r-- | 211 bytes |
quirks-table.h | -rw-r--r-- | 75.5 KB |
quirks.c | -rw-r--r-- | 34.6 KB |
quirks.h | -rw-r--r-- | 1.1 KB |
stream.c | -rw-r--r-- | 20.4 KB |
stream.h | -rw-r--r-- | 286 bytes |
usbaudio.h | -rw-r--r-- | 2.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...