Skip to content

pnfs-submit add layoutget, layoutreturn error handling

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8SQUASHME: pnfs-submit remove unused filelayout_mount_typefs/nfs/nfs4filelayout.h+0 -60 replies
2/8SQUASHME pnfs-submit: pnfs_try_to_read, write, commit using freed memoryfs/nfs/pnfs.h+6 -30 replies
3/8SQUASHME pnfs-submit: tell commit to use the MDSfs/nfs/pnfs.c+1 -04 replies
4/8SQUASHME pnfs-submit: remove encode_layoutreturnfs/nfs/nfs4xdr.c include/linux/nfs4_pnfs.h+2 -170 replies
5/8SQUASHME pnfs-submit: add error handling to layout returnfs/nfs/nfs4proc.c+27 -100 replies
6/8SQUASHME pnfs-submit: handle assassinated layoutcommitfs/nfs/nfs4proc.c+2 -00 replies
7/8SQUASHME pnfs-submit: add error handlers to layout getfs/nfs/nfs4proc.c+29 -163 replies
8/8pnfs-post-submit: restore encode_layoutreturnfs/nfs/nfs4xdr.c include/linux/nfs4_pnfs.h+16 -20 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/8] pnfs-submit add layoutget, layoutreturn error handling

Plus some code cleanup 0001-SQUASHME-pnfs-submit-remove-unused-filelayout_mount_.patch

and some bug fixes 0002-SQUASHME-pnfs-submit-pnfs_try_to_read-write-commit-u.patch 0003-SQUASHME-pnfs-submit-tell-commit-to-use-the-MDS.patch

Remove unused (by file layout) encode_layoutreturn io operation 0004-SQUASHME-pnfs-submit-remove-encode_layoutreturn.patch 0005-SQUASHME-pnfs-submit-add-error-handling-to-layout-re.patch

0006-SQUASHME-pnfs-submit-handle-assassinated-layoutcommi.patch 0007-SQUASHME-pnfs-submit-add-error-handlers-to-layout-ge.patch

Add back encode_layoutreturn io operation 0008-pnfs-post-submit-restore-encode_layoutreturn.patch

Testing:
---------

CONFIG_NFS_V4_1 set: NFSv4.0 NFSv4.1 pNFS
Passes Connectathon tests

Tested layoutget and layoutreturn recovery from NFS4ERR_DEAD_SESSION with the pyNFS server and the testclient framework.

Still todo:

Recover from NFS4ERR_BAD_STATEID. Currently layoutreturn, layoutget, and layoutcommit do not pass nfs_stste to the error handlers.

Handle NFS4ERR_BAD_LAYOUT.

CONFIG_NFS_V4_1 not set: NFSv4.o mount passes cthon tests.

-->Andy