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
History
File Mode Size
ad1816a
ad1848
cs423x
es1688
galaxy
gus
msnd
opti9xx
sb
wavefront
wss
Kconfig -rw-r--r-- 12.4 KB
Makefile -rw-r--r-- 857 bytes
adlib.c -rw-r--r-- 2.9 KB
als100.c -rw-r--r-- 10.3 KB
azt2320.c -rw-r--r-- 9.6 KB
cmi8328.c -rw-r--r-- 13.6 KB
cmi8330.c -rw-r--r-- 22.5 KB
es18xx.c -rw-r--r-- 69.0 KB
opl3sa2.c -rw-r--r-- 29.0 KB
sc6000.c -rw-r--r-- 18.0 KB
sscape.c -rw-r--r-- 32.7 KB

back to top