summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs3.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-03-23 03:53:28 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-23 04:55:34 -0700
commitbd132d8e410dbc24cbef751925cd937939f35747 (patch)
tree23b432233a93884ba13bc16cdc5f8774ecde483a /xlators/nfs/server/src/nfs3.c
parent9bd4f25b6b0ea8103324b685fcc21525a29849a8 (diff)
Prevent deadlock in io-stats list management of top.v3.2.0qa4
Senario: thread t1 has lock on the queue, and waits on the element lock to remove it and unref it. Thread t2 has a lock on the element being removed from the queue, but waiting on the queue on the list to update it. The fix is to move list management to outside of the lock. Additonal to this change is adding locks to ios_stat_ref Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2578 (Mountpoint hung while running the dbench) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2578
Diffstat (limited to 'xlators/nfs/server/src/nfs3.c')
0 files changed, 0 insertions, 0 deletions