commit | ec302645f4a9bd9ec757c30d185557e1c0972c1a | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Dec 22 10:43:42 2009 -0800 |
committer | Sage Weil <sage@newdream.net> | Wed Dec 23 08:17:19 2009 -0800 |
tree | b03aee886f401affba79f8473b83bd190a69570a | |
parent | 529cfcc46ffa2cbe4d07641c11e65f67fe7b66e4 [diff] |
ceph: use connection mutex to protect read and write stages Use a single mutex (previously out_mutex) to protect both read and write activity from concurrent ceph_con_* calls. Drop the mutex when doing callbacks to avoid nested locking (the callback may need to call something like ceph_con_close). Signed-off-by: Sage Weil <sage@newdream.net>