Linux-NFS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] generic currentstateid test of should not require pnfs-aware session
@ 2020-07-21 19:16 Tigran Mkrtchyan
  2020-07-22 14:11 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Tigran Mkrtchyan @ 2020-07-21 19:16 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs, Tigran Mkrtchyan

CSID8 doesn't depend on pnfs capability of a server, thus should not
create pnfs-aware session.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
---
 nfs4.1/server41tests/st_current_stateid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nfs4.1/server41tests/st_current_stateid.py b/nfs4.1/server41tests/st_current_stateid.py
index 8882e96..6480ae9 100644
--- a/nfs4.1/server41tests/st_current_stateid.py
+++ b/nfs4.1/server41tests/st_current_stateid.py
@@ -164,7 +164,7 @@ def testOpenSetattr(t, env):
     CODE: CSID8
     """
     size = 8
-    sess = env.c1.new_pnfs_client_session(env.testname(t))
+    sess = env.c1.new_client_session(env.testname(t))
 
     open_op = open_create_file_op(sess, env.testname(t), open_create=OPEN4_CREATE)
     res = sess.compound( open_op +
-- 
2.26.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] generic currentstateid test of should not require pnfs-aware session
  2020-07-21 19:16 [PATCH] generic currentstateid test of should not require pnfs-aware session Tigran Mkrtchyan
@ 2020-07-22 14:11 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2020-07-22 14:11 UTC (permalink / raw)
  To: Tigran Mkrtchyan; +Cc: linux-nfs

On Tue, Jul 21, 2020 at 09:16:28PM +0200, Tigran Mkrtchyan wrote:
> CSID8 doesn't depend on pnfs capability of a server, thus should not
> create pnfs-aware session.

Thanks!--b.

> 
> Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
> ---
>  nfs4.1/server41tests/st_current_stateid.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/nfs4.1/server41tests/st_current_stateid.py b/nfs4.1/server41tests/st_current_stateid.py
> index 8882e96..6480ae9 100644
> --- a/nfs4.1/server41tests/st_current_stateid.py
> +++ b/nfs4.1/server41tests/st_current_stateid.py
> @@ -164,7 +164,7 @@ def testOpenSetattr(t, env):
>      CODE: CSID8
>      """
>      size = 8
> -    sess = env.c1.new_pnfs_client_session(env.testname(t))
> +    sess = env.c1.new_client_session(env.testname(t))
>  
>      open_op = open_create_file_op(sess, env.testname(t), open_create=OPEN4_CREATE)
>      res = sess.compound( open_op +
> -- 
> 2.26.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 19:16 [PATCH] generic currentstateid test of should not require pnfs-aware session Tigran Mkrtchyan
2020-07-22 14:11 ` J. Bruce Fields

Linux-NFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nfs/0 linux-nfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nfs linux-nfs/ https://lore.kernel.org/linux-nfs \
		linux-nfs@vger.kernel.org
	public-inbox-index linux-nfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-nfs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git