commit | c1ea8823be69ebebaface912142190e910711984 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu Oct 08 16:55:47 2009 -0700 |
committer | Sage Weil <sage@newdream.net> | Fri Oct 09 11:58:03 2009 -0700 |
tree | d834392aebd65a1d538e23b54b63172ca427f29c | |
parent | 0656d11ba6ffa3dee0e8916a1903f96185651217 [diff] |
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: Sage Weil <sage@newdream.net>