From: Sage Weil Date: Tue, 22 Dec 2009 18:43:42 +0000 (-0800) Subject: ceph: use connection mutex to protect read and write stages X-Git-Tag: v2.6.34-rc2~9^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec302645f4a9bd9ec757c30d185557e1c0972c1a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed