]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Always cleanup request after safe
authorSam Lang <sam.lang@inktank.com>
Mon, 25 Mar 2013 16:43:54 +0000 (11:43 -0500)
committerSam Lang <sam.lang@inktank.com>
Tue, 26 Mar 2013 14:25:18 +0000 (09:25 -0500)
commitdfb46b9a32e0465f5f4faba21846d42b8051f1e8
tree85e3aea43b930945eedd28d162295ebea4b8c09f
parent4dda138b076686c856ee0eaf93cf6139061b4526
client: Always cleanup request after safe

The client MetaRequest should always be cleaned up
and removed from the mds_requests map once the client
gets a safe reply.  This patch avoids a leak where the
mds does not send back an unsafe reply and the request
is never cleaned up.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/client/Client.cc