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
Kconfig -rw-r--r-- 484 bytes
Makefile -rw-r--r-- 169 bytes
abdac.c -rw-r--r-- 15.4 KB
ac97c.c -rw-r--r-- 30.7 KB
ac97c.h -rw-r--r-- 2.0 KB

back to top