aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2013-03-25 18:16:11 -0500
committerSage Weil <[email protected]>2013-05-01 21:17:16 -0700
commitdc4b870c97a5006871c259f7e61ea6c79038f731 (patch)
tree9da66c4b95edd3ae944fb9c8292b2feee4b357fa /lib/mpi/mpi-bit.c
parente9966076cdd952e19f2dd4854cd719be0d7cbebc (diff)
libceph: slightly defer registering osd request
One of the first things ceph_osdc_start_request() does is register the request. It then acquires the osd client's map semaphore and request mutex and proceeds to map and send the request. There is no reason the request has to be registered before acquiring the map semaphore. So hold off doing so until after the map semaphore is held. Since register_request() is nothing more than a wrapper around __register_request(), call the latter function instead, after acquiring the request mutex. That leaves register_request() unused, so get rid of it. This partially resolves: http://tracker.ceph.com/issues/4392 Signed-off-by: Alex Elder <[email protected]> Reviewed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions