diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-06-26 13:05:00 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-29 10:51:16 -0700 |
commit | 304e4274ca9b0339539581c5413e3339078c1182 (patch) | |
tree | 95313a38ebb829e22e9256ab65f86fac69f6c3ae /booster | |
parent | d6ce087395220ea0b6e4bff4d3e561de624447a3 (diff) |
libglusterfsclient: Fix glusterfs_mount-vmp search deadlock
It is possible that the only translator in the libglusterfsclient
tree is the posix. In that case, inside gluster_init, the graph
init routines will need to call lstat on the posix subdirectory.
Since even the glusterfs stack is running over booster, those
calls will also first require vmp searching. BUT, the vmp lock
is the same as the mount lock that was already taken when we entered
glusterfs_mount, so a deadlock occurs.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'booster')
0 files changed, 0 insertions, 0 deletions