summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2011-03-15 01:53:43 +0000
committerAnand Avati <avati@gluster.com>2011-04-11 01:37:45 -0700
commit193424e0aba3f1ddbf875aac6dc47cf029d61f05 (patch)
tree76f09c50b7c9cea07577f523238259543d15c853 /xlators/nfs
parentd473623668f91303287bfe539709a3b7f4a654a7 (diff)
nfs-rpc: Append replies to end of connection's txlist
..instead of prepending. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2491 ([glusterfs-3.1.3qa4]: iozone fails due to data corruption) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2491
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c
index 3f6e3b9f0ea..0831cf49ab6 100644
--- a/xlators/nfs/lib/src/rpcsvc.c
+++ b/xlators/nfs/lib/src/rpcsvc.c
@@ -1815,8 +1815,8 @@ nfs_rpcsvc_submit_vectors (rpcsvc_request_t *req)
pthread_mutex_lock (&req->conn->connlock);
{
- list_splice_init (&req->txlist, &req->conn->txbufs);
- list_add (&rpctxb->txlist, &req->conn->txbufs);
+ list_add_tail (&rpctxb->txlist, &req->conn->txbufs);
+ list_append_init (&req->txlist, &req->conn->txbufs);
}
pthread_mutex_unlock (&req->conn->connlock);