linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mi Jinlong <mijinlong@cn.fujitsu.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: NFS <linux-nfs@vger.kernel.org>
Subject: [PATCH 2/3] 4.1 CLNT: Send reclaim complete before create file at CSESS26
Date: Fri, 28 Oct 2011 17:58:37 +0800	[thread overview]
Message-ID: <4EAA7CCD.8020309@cn.fujitsu.com> (raw)

Send reclaim complete before create file at CSESS26

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
---
 nfs4.1/server41tests/st_create_session.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/nfs4.1/server41tests/st_create_session.py b/nfs4.1/server41tests/st_create_session.py
index f8f59f6..2f351a6 100644
--- a/nfs4.1/server41tests/st_create_session.py
+++ b/nfs4.1/server41tests/st_create_session.py
@@ -455,8 +455,10 @@ def testRepTooBig(t, env):
     name = env.testname(t)
     c1 = env.c1.new_client(name)
     # create session with a small ca_maxresponsesize
-    chan_attrs = channel_attrs4(0,8192,50,8192,128,8,[])
+    chan_attrs = channel_attrs4(0,8192,500,8192,128,8,[])
     sess1 = c1.create_session(fore_attrs=chan_attrs)
+    sess1.compound([op.reclaim_complete(FALSE)])
+
     owner = "owner_%s" % name
     path = sess1.c.homedir + [name]
     res = create_file(sess1, owner, path, access=OPEN4_SHARE_ACCESS_BOTH)
-- 
1.7.5.1



             reply	other threads:[~2011-10-28  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  9:58 Mi Jinlong [this message]
2011-11-04 22:26 ` [PATCH 2/3] 4.1 CLNT: Send reclaim complete before create file at CSESS26 J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EAA7CCD.8020309@cn.fujitsu.com \
    --to=mijinlong@cn.fujitsu.com \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).