commit | 6cd3bcad0d269f96667ea704d4f6459a5c6ccbab | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Wed Sep 17 07:45:12 2014 +0800 |
committer | Ilya Dryomov <idryomov@redhat.com> | Tue Oct 14 21:03:39 2014 +0400 |
tree | b1b9f47e26f0553902803e7e58d23a0a3d3b5b0b | |
parent | 508b32d8661b12da4c9ca41a9b2054e1dc92fa7e [diff] |
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 <zyan@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com>