libceph: no more kick_requests() race
authorAlex Elder <elder@inktank.com>
Mon, 25 Mar 2013 23:16:11 +0000 (18:16 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:17 +0000 (21:17 -0700)
commit92451b4910895936cc05ce1d283644ffc44d7537
tree6ebb20c2379f2c3384ec665fb574cb3919bc3a9c
parentdc4b870c97a5006871c259f7e61ea6c79038f731
libceph: no more kick_requests() race

Since we no longer drop the request mutex between registering and
mapping an osd request in ceph_osdc_start_request(), there is no
chance of a race with kick_requests().

We can now therefore map and send the new request unconditionally
(but we'll issue a warning should it ever occur).

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-off-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c