linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] NFSv4.2: Fix NFS4ERR_STALE with inter server copy
@ 2020-10-08  1:25 Dai Ngo
  2020-10-08  1:25 ` [PATCH v2 1/1] NFSv4.2: Fix NFS4ERR_STALE error when doing " Dai Ngo
  2020-10-08 17:58 ` [PATCH v2 0/1] NFSv4.2: Fix NFS4ERR_STALE with " J. Bruce Fields
  0 siblings, 2 replies; 11+ messages in thread
From: Dai Ngo @ 2020-10-08  1:25 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs

This cover email is intended for including my test results.

This patch adds the ops table in nfs_common for knfsd to access
NFS client modules without calling these functions directly.

The client module registers their functions and deregisters them
when the module is loaded and unloaded respectively.

 fs/nfs/nfs4file.c       |  44 ++++++++++++--
 fs/nfs/nfs4super.c      |   6 ++
 fs/nfs/super.c          |  20 +++++++
 fs/nfs_common/Makefile  |   1 +
 fs/nfs_common/nfs_ssc.c | 136 +++++++++++++++++++++++++++++++++++++++++++
 fs/nfsd/Kconfig         |   2 +-
 fs/nfsd/nfs4proc.c      |   3 +-
 include/linux/nfs_ssc.h |  77 ++++++++++++++++++++++++
 8 files changed, 281 insertions(+), 8 deletions(-)

Test Results:

Upstream version used for testing:  5.9-rc5

|----------------------------------------------------------|
|  NFSD  |  NFS_FS  |  NFS_V4  |       RESULTS             |
|----------------------------------------------------------|
|   m    |    y     |    m     | inter server copy OK      |
|----------------------------------------------------------|
|   m    |    m     |    m     | inter server copy OK      |
|----------------------------------------------------------|
|   m    |    m     |   y (m)  | inter server copy OK      |
|----------------------------------------------------------|
|   m    |    y     |    y     | inter server copy OK      |
|----------------------------------------------------------|
|   m    |    n     |    n     | NFS4ERR_STALE error       |
|----------------------------------------------------------|


|----------------------------------------------------------|
|  NFSD  |  NFS_FS  |  NFS_V4  |        RESULTS            |
|----------------------------------------------------------|
|   y    |    y     |    m     | inter server copy OK      |
|----------------------------------------------------------|
|   y    |    m     |    m     | inter server copy OK      |
|----------------------------------------------------------|
|   y    |    m     |   y (m)  | inter server copy OK      |
|----------------------------------------------------------|
|   y    |    y     |    y     | inter server copy OK      |
|----------------------------------------------------------|
|   y    |    n     |    n     | NFS4ERR_STALE error       |
|----------------------------------------------------------|

NOTE:
When NFS_V4=y and NFS_FS=m, the build process automatically builds
with NFS_V4=m and ignores the setting NFS_V4=y in the config file. 

This probably due to NFS_V4 in fs/nfs/Kconfig is configured to
depend on NFS_FS.


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

end of thread, other threads:[~2020-10-08 21:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08  1:25 [PATCH v2 0/1] NFSv4.2: Fix NFS4ERR_STALE with inter server copy Dai Ngo
2020-10-08  1:25 ` [PATCH v2 1/1] NFSv4.2: Fix NFS4ERR_STALE error when doing " Dai Ngo
2020-10-08  2:56   ` kernel test robot
2020-10-08  3:11   ` kernel test robot
2020-10-08  3:11   ` [RFC PATCH] NFSv4.2: nfs_ssc_clnt_ops_tbl can be static kernel test robot
2020-10-08  3:24   ` [PATCH v2 1/1] NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy kernel test robot
2020-10-08 17:58 ` [PATCH v2 0/1] NFSv4.2: Fix NFS4ERR_STALE with " J. Bruce Fields
2020-10-08 18:29   ` Dai Ngo
2020-10-08 19:47     ` J. Bruce Fields
2020-10-08 21:15       ` Dai Ngo
2020-10-08 21:17         ` Dai Ngo

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).