Skip to content
Commit c1ea8823 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix osd request submission race



The osd request submission path registers the request, drops and retakes
the request_mutex, then sends it to the OSD.  A racing kick_requests could
sent it during that interval, causing the same msg to be sent twice and
BUGing in the msgr.

Fix by only sending the message if it hasn't been touched by other
threads.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 0656d11b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment