commit | 9abf82b8bc93dd904738a71ca69aa5df356d4d24 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon May 10 21:58:38 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue May 11 09:53:57 2010 -0700 |
tree | 208c5112173832092f93b8d91b8e8ec6f36209aa | |
parent | d85b705663905b3dae30007f824355bdcfcf3f00 [diff] |
ceph: fix locking for waking session requests after reconnect The session->s_waiting list is protected by mdsc->mutex, not s_mutex. This was causing (rare) s_waiting list corruption. Fix errors paths too, while we're here. A more thorough cleanup of this function is coming soon. Signed-off-by: Sage Weil <sage@newdream.net>