Skip to content

cleanup inode.c and bug fixes

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5SQUASHME pnfs-submit: remove pnfs_init_oncefs/nfs/inode.c+6 -110 replies
2/5SQUASHME pnfs-submit remove pnfs_alloc_init_inodefs/nfs/inode.c+6 -132 replies
3/5SQUASHME pnfs-submit: remove pnfs_destroy_inodefs/nfs/inode.c fs/nfs/pnfs.c fs/nfs/pnfs.h+14 -170 replies
4/5SQUASHME pnfs-submit: set layoutcommit status after async error handlerfs/nfs/nfs4proc.c+2 -20 replies
5/5SQUASHME pnfs-submit: set layoutget status after async error handlerfs/nfs/nfs4proc.c+1 -00 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/5] cleanup inode.c and bug fixes

For the pnfs-submit branch 2.6.35-rc3 7-6-2010 tree.

These first three patches simplify the inode.c pnfs initialization calls. 0001-SQUASHME-pnfs-submit-remove-pnfs_init_once.patch 0002-SQUASHME-pnfs-submit-remove-pnfs_alloc_init_inode.patch 0003-SQUASHME-pnfs-submit-remove-pnfs_destroy_inode.patch

These two patches fix bugs in the layoutget and layoutcommit error handling where the calldata->status was not set after the async error handler in the rpc_call_done routines.

0004-SQUASHME-pnfs-submit-set-layoutcommit-status-after-a.patch 0005-SQUASHME-pnfs-submit-set-layoutget-status-after-asyn.patch

Tested:
CONFIG_NFS_V4_1 set:

pNFS mount connectathon tests pass.
pyNFS server with NFS4ERR_DELAY returned by layoutget handles the error in the async error handler, and then the calldata->status is set to NFS4_OK.

CONFIG_NFS_V4_1 not set;

NFSv4.0 mount passes connectathon tests.

-->Andy