commit | e6994d3ddedf1a9f35cb43655bb4b5810e71199a | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@dreamhost.com> | Sun Jan 29 13:57:44 2012 -0600 |
committer | Alex Elder <elder@dreamhost.com> | Thu Mar 22 10:47:47 2012 -0500 |
tree | 0e0af19765412596516550b3a95c32ff67be6d47 | |
parent | d184f6bfde1428ad4a690d49b28afc9ab4d57b35 [diff] |
rbd: release client list lock sooner In rbd_get_client(), if a client is reused, a number of things get done while still holding the list lock unnecessarily. This just moves a few things that need no lock protection outside the lock. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>