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/nfs-mem-types.h | |
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/nfs-mem-types.h')
-rw-r--r-- | xlators/nfs/server/src/nfs-mem-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs-mem-types.h b/xlators/nfs/server/src/nfs-mem-types.h index 8913ba38b3f..2198a43015b 100644 --- a/xlators/nfs/server/src/nfs-mem-types.h +++ b/xlators/nfs/server/src/nfs-mem-types.h @@ -42,6 +42,7 @@ enum gf_nfs_mem_types_ { gf_nfs_mt_list_head, gf_nfs_mt_mnt3_resolve, gf_nfs_mt_mnt3_export, + gf_nfs_mt_inode_q, gf_nfs_mt_end }; #endif |