diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-07-04 06:20:07 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-06 05:58:52 -0700 |
commit | 4e14d858bc51f99d89880364249344e1b957f400 (patch) | |
tree | 1d2a77c319d9d24f41706a8d03b60d4c05b0a9f8 /xlators/nfs/server/src/nfs3.c | |
parent | 1a7f42d7fb73f464f18c4375e3b4ef8139f20d1c (diff) |
nfs3: Fix race updating op queue on uncached fd open
The order of locking while performing async fd opens was resulting in
a deadlock when a particular pattern of operations was generated by
compilebench. This patch improves handling of those situations while
locking the fd-cache, inode and inode queue.
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1047 (Compilebench hangs nfs server)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1047
Diffstat (limited to 'xlators/nfs/server/src/nfs3.c')
-rw-r--r-- | xlators/nfs/server/src/nfs3.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c index 131596e8fd2..63076095386 100644 --- a/xlators/nfs/server/src/nfs3.c +++ b/xlators/nfs/server/src/nfs3.c @@ -215,7 +215,6 @@ nfs3_call_state_wipe (nfs3_call_state_t *cs) if (!list_empty (&cs->entries.list)) gf_dirent_free (&cs->entries); - list_del (&cs->openwait_q); nfs_loc_wipe (&cs->oploc); nfs_loc_wipe (&cs->resolvedloc); if (cs->iob) |