Skip to content

pnfs DLM cluster only use read iomode layouts Version 2

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pnfsd: fix file system API layout_get error codesfs/nfsd/nfs4pnfsd.c+22 -140 replies
2/6pnfsd: fix NFS4ERR_BADIOMODE in layoutgetfs/nfsd/nfs4proc.c+2 -93 replies
3/6pnfsd: DLM file layout only support read iomode layoutsfs/nfsd/nfs4pnfsdlm.c+5 -00 replies
4/6pnfsd: fix DLM file layout no device returnfs/nfsd/nfs4pnfsdlm.c+2 -20 replies
5/6pnfs: set failed layout bit per iomodefs/nfs/pnfs.c fs/nfs/pnfs.h include/linux/nfs_fs.h+12 -50 replies
6/6pnfsd: fix compile errors when CONFIG_PNFSD is not setfs/nfsd/nfs4pnfsd.c fs/nfsd/nfs4pnfsdlm.c+8 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] pnfs DLM cluster only use read iomode layouts Version 2

Responded to comments on error code fixes.

Applies against 2.6.33-rc6 pnfs-all branch.

In a DLM cluster, writing to a node other than the node where the open call occurred (where meta data is cached) will have performance implications when the write causes meta data changes that need to be propagated to the open call node.

Return NFS4ERR_BADIOMODE for LAYOUTGET requests with LAYOUTIOMODE4_RW iomode.

0001-pnfsd-fix-file-system-API-layout_get-error-codes.patch 0002-pnfsd-fix-NFS4ERR_BADIOMODE-in-layoutget.patch 0003-pnfsd-DLM-file-layout-only-support-read-iomode-layou.patch 0004-pnfsd-fix-DLM-file-layout-no-device-return.patch

Allow the client to fail a RW iomode layout and still grab a RO iomode layout. 0005-pnfs-set-failed-layout-bit-per-iomode.patch

fix compile errors 0006-pnfsd-fix-compile-errors-when-CONFIG_PNFSD-is-not-se.patch

Testing: Connectathon tests pass. Basic test shows RW iomode layout for 'bigfile' fails with NFS4ERR_BADIOMODE with writes going through the MDS, and RO layout for 'bigfile' is obtained with reads going to the DS.

-->Andy