2020-06-03 18:31:43

by Scott Mayhew

[permalink] [raw]
Subject: [nfs-utils PATCH] mountstats: add missing operations

Signed-off-by: Scott Mayhew <[email protected]>
---
tools/mountstats/mountstats.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 3e2a3fe..f101ce5 100755
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -225,7 +225,12 @@ Nfsv4ops = [
'ALLOCATE',
'DEALLOCATE',
'LAYOUTSTATS',
- 'CLONE'
+ 'CLONE',
+ 'COPY',
+ 'OFFLOAD_CANCEL',
+ 'LOOKUPP',
+ 'LAYOUTERROR',
+ 'COPY_NOTIFY'
]

def sec_conv(rem):
--
2.25.4


2020-06-04 15:03:58

by Steve Dickson

[permalink] [raw]
Subject: Re: [nfs-utils PATCH] mountstats: add missing operations



On 6/3/20 2:28 PM, Scott Mayhew wrote:
> Signed-off-by: Scott Mayhew <[email protected]>
> ---
> tools/mountstats/mountstats.py | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Committed...

steved.

>
> diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
> index 3e2a3fe..f101ce5 100755
> --- a/tools/mountstats/mountstats.py
> +++ b/tools/mountstats/mountstats.py
> @@ -225,7 +225,12 @@ Nfsv4ops = [
> 'ALLOCATE',
> 'DEALLOCATE',
> 'LAYOUTSTATS',
> - 'CLONE'
> + 'CLONE',
> + 'COPY',
> + 'OFFLOAD_CANCEL',
> + 'LOOKUPP',
> + 'LAYOUTERROR',
> + 'COPY_NOTIFY'
> ]
>
> def sec_conv(rem):
>