• S
    ceph: fix osd request submission race · c1ea8823
    Sage Weil 提交于
    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: NSage Weil <sage@newdream.net>
    c1ea8823
osd_client.c 33.2 KB