All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfsstat: update client op to match latest kernel
@ 2015-02-12  9:07 Peng Tao
  2015-02-12  9:20 ` Peng Tao
  2015-02-12 13:54 ` Anna Schumaker
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Tao @ 2015-02-12  9:07 UTC (permalink / raw)
  To: linux-nfs; +Cc: Peng Tao

We've added a bunch of ops and removed getdevicelist.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
---
 utils/nfsstat/nfsstat.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 9f481db..de57109 100644
--- a/utils/nfsstat/nfsstat.c
+++ b/utils/nfsstat/nfsstat.c
@@ -31,7 +31,7 @@ enum {
 	SRVPROC3_SZ = 22,
 	CLTPROC3_SZ = 22,
 	SRVPROC4_SZ = 2,
-	CLTPROC4_SZ = 49,
+	CLTPROC4_SZ = 55,
 	SRVPROC4OPS_SZ = 59,
 };
 
@@ -127,7 +127,7 @@ static const char *	nfscltproc4name[CLTPROC4_SZ] = {
 	"remove",    "rename",    "link",    "symlink",     "create",      "pathconf",
 	"statfs",    "readlink",  "readdir", "server_caps", "delegreturn", "getacl",
 	"setacl",    "fs_locations",
-	"rel_lkowner", "secinfo",
+	"rel_lkowner", "secinfo", "fsid_present",
 	/* nfsv4.1 client ops */
 	"exchange_id",
 	"create_ses",
@@ -139,7 +139,12 @@ static const char *	nfscltproc4name[CLTPROC4_SZ] = {
 	"getdevinfo",
 	"layoutcommit",
 	"layoutreturn",
-	"getdevlist",
+	"secinfo_no_n",
+	"test_stateid",
+	"free_stateid",
+	"bind_con_ses",
+	"destroy_clid",
+	"seek",
 };
 
 static const char *     nfssrvproc4opname[SRVPROC4OPS_SZ] = {
-- 
1.9.1


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

* Re: [PATCH] nfsstat: update client op to match latest kernel
  2015-02-12  9:07 [PATCH] nfsstat: update client op to match latest kernel Peng Tao
@ 2015-02-12  9:20 ` Peng Tao
  2015-02-12 13:54 ` Anna Schumaker
  1 sibling, 0 replies; 3+ messages in thread
From: Peng Tao @ 2015-02-12  9:20 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Peng Tao, Linux NFS Mailing List

sorry, forgot to cc Steve...

Cheers,
Tao

On Thu, Feb 12, 2015 at 5:07 PM, Peng Tao <tao.peng@primarydata.com> wrote:
> We've added a bunch of ops and removed getdevicelist.
>
> Signed-off-by: Peng Tao <tao.peng@primarydata.com>
> ---
>  utils/nfsstat/nfsstat.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
> index 9f481db..de57109 100644
> --- a/utils/nfsstat/nfsstat.c
> +++ b/utils/nfsstat/nfsstat.c
> @@ -31,7 +31,7 @@ enum {
>         SRVPROC3_SZ = 22,
>         CLTPROC3_SZ = 22,
>         SRVPROC4_SZ = 2,
> -       CLTPROC4_SZ = 49,
> +       CLTPROC4_SZ = 55,
>         SRVPROC4OPS_SZ = 59,
>  };
>
> @@ -127,7 +127,7 @@ static const char * nfscltproc4name[CLTPROC4_SZ] = {
>         "remove",    "rename",    "link",    "symlink",     "create",      "pathconf",
>         "statfs",    "readlink",  "readdir", "server_caps", "delegreturn", "getacl",
>         "setacl",    "fs_locations",
> -       "rel_lkowner", "secinfo",
> +       "rel_lkowner", "secinfo", "fsid_present",
>         /* nfsv4.1 client ops */
>         "exchange_id",
>         "create_ses",
> @@ -139,7 +139,12 @@ static const char *        nfscltproc4name[CLTPROC4_SZ] = {
>         "getdevinfo",
>         "layoutcommit",
>         "layoutreturn",
> -       "getdevlist",
> +       "secinfo_no_n",
> +       "test_stateid",
> +       "free_stateid",
> +       "bind_con_ses",
> +       "destroy_clid",
> +       "seek",
>  };
>
>  static const char *     nfssrvproc4opname[SRVPROC4OPS_SZ] = {
> --
> 1.9.1
>

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

* Re: [PATCH] nfsstat: update client op to match latest kernel
  2015-02-12  9:07 [PATCH] nfsstat: update client op to match latest kernel Peng Tao
  2015-02-12  9:20 ` Peng Tao
@ 2015-02-12 13:54 ` Anna Schumaker
  1 sibling, 0 replies; 3+ messages in thread
From: Anna Schumaker @ 2015-02-12 13:54 UTC (permalink / raw)
  To: Peng Tao, linux-nfs

Hi Tao,

On 02/12/2015 04:07 AM, Peng Tao wrote:
> We've added a bunch of ops and removed getdevicelist.
> 
> Signed-off-by: Peng Tao <tao.peng@primarydata.com>
> ---
>  utils/nfsstat/nfsstat.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
> index 9f481db..de57109 100644
> --- a/utils/nfsstat/nfsstat.c
> +++ b/utils/nfsstat/nfsstat.c
> @@ -31,7 +31,7 @@ enum {
>  	SRVPROC3_SZ = 22,
>  	CLTPROC3_SZ = 22,
>  	SRVPROC4_SZ = 2,
> -	CLTPROC4_SZ = 49,
> +	CLTPROC4_SZ = 55,
>  	SRVPROC4OPS_SZ = 59,
>  };
>  
> @@ -127,7 +127,7 @@ static const char *	nfscltproc4name[CLTPROC4_SZ] = {
>  	"remove",    "rename",    "link",    "symlink",     "create",      "pathconf",
>  	"statfs",    "readlink",  "readdir", "server_caps", "delegreturn", "getacl",
>  	"setacl",    "fs_locations",
> -	"rel_lkowner", "secinfo",
> +	"rel_lkowner", "secinfo", "fsid_present",
>  	/* nfsv4.1 client ops */
>  	"exchange_id",
>  	"create_ses",
> @@ -139,7 +139,12 @@ static const char *	nfscltproc4name[CLTPROC4_SZ] = {
>  	"getdevinfo",
>  	"layoutcommit",
>  	"layoutreturn",
> -	"getdevlist",
> +	"secinfo_no_n",
> +	"test_stateid",
> +	"free_stateid",
> +	"bind_con_ses",
> +	"destroy_clid",
> +	"seek",

Can you add ALLOCATE and DEALLOCATE while you're at it?

Thanks,
Anna
>  };
>  
>  static const char *     nfssrvproc4opname[SRVPROC4OPS_SZ] = {
> 


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

end of thread, other threads:[~2015-02-12 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12  9:07 [PATCH] nfsstat: update client op to match latest kernel Peng Tao
2015-02-12  9:20 ` Peng Tao
2015-02-12 13:54 ` Anna Schumaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.