pnfs-submit add layoutget,layoutreturn error handling version 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 9 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/10] pnfs-submit add layoutget,layoutreturn error handling version 2
Responded to comments, added a 2 cleanup patchses
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
NOTE: this patch: 0003-SQUASHME-pnfs-submit-tell-commit-to-use-the-MDS.patch was replaced by:
0003-SQUASHME-pnfs-submit-clear-page-lseg-on-partial-i-o.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
Note: pnfs4_proc_layoutget is only called by send_layout() which prints the status. 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
New patches:
0009-SQUASHME-pnfs-submit-don-t-re-initialize-i_lock.patch
This gets rid of a frame stack warning; 0010-SQUASHME-pnfs-submit-remove-struct-nfs_server-from-s.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