Skip to contentSkip to conversation

proc01: exclude /proc/nfsd/clients/*/ctl

PATCH New Alexey Kodanev 2 participants 2 messages Mar 12, 2020 – Mar 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc01: exclude /proc/nfsd/clients/*/ctl

"ctl" files are write-only, added in Linux 5.3 with this commit 89c905beccbb ("nfsd: allow forced expiration of NFSv4 clients")

Before the patch:

proc01      1  TFAIL  :  proc01.c:396: read failed: /proc/fs/nfsd/clients/13/ctl: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_filesystem: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_ip: known issue: errno=EINVAL(22): Invalid argument

...

After:

proc01      0  TINFO  :  /proc/fs/nfsd/clients/13/ctl: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_filesystem: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_ip: known issue: errno=EINVAL(22): Invalid argument

...

---
 testcases/kernel/fs/proc/proc01.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/proc/proc01.c +1 -0
index d917591bf..96843695c 100644
@@ -85,6 +85,7 @@ static const struct mapping known_issues[] = {
 	{"open", "/proc/sal/init/data", EBUSY},
 	{"open", "/proc/sal/mca/data", EBUSY},
 	{"open", "/proc/fs/nfsd/pool_stats", ENODEV},
+	{"read", "/proc/fs/nfsd/clients/*/ctl", EINVAL},
 	{"read", "/proc/acpi/event", EAGAIN},
 	{"read", "/proc/kmsg", EAGAIN},
 	{"read", "/proc/sal/cpe/event", EAGAIN},
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 proc01: exclude /proc/nfsd/clients/*/ctl

Hi Alexey,

Quoted 9 lines

"ctl" files are write-only, added in Linux 5.3 with this commit 89c905beccbb ("nfsd: allow forced expiration of NFSv4 clients")

Before the patch:

proc01      1  TFAIL  :  proc01.c:396: read failed: /proc/fs/nfsd/clients/13/ctl: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_filesystem: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_ip: known issue: errno=EINVAL(22): Invalid argument

...

Quoted 7 lines

After:

proc01      0  TINFO  :  /proc/fs/nfsd/clients/13/ctl: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_filesystem: known issue: errno=EINVAL(22): Invalid argument
proc01      0  TINFO  :  /proc/fs/nfsd/unlock_ip: known issue: errno=EINVAL(22): Invalid argument

...

Kind regards,
Petr