From 6cd3bcad0d269f96667ea704d4f6459a5c6ccbab Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Wed, 17 Sep 2014 07:45:12 +0800 Subject: [PATCH] ceph: move ceph_find_inode() outside the s_mutex ceph_find_inode() may wait on freeing inode, using it inside the s_mutex may cause deadlock. (the freeing inode is waiting for OSD read reply, but dispatch thread is blocked by the s_mutex) Signed-off-by: Yan, Zheng Reviewed-by: Sage Weil --- Reading git-format-patch failed