Skip to content

pnfs-submit: Forgetful cleint and some layout cleanups

Alexandros Batsakis linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8pnfs-submit: clean struct nfs_inodefs/nfs/inode.c fs/nfs/nfs4state.c fs/nfs/pnfs.c +2 more+59 -520 replies
2/8pnfs-submit: clean locking infrastructurefs/nfs/pnfs.c+53 -273 replies
3/8pnfs-submit: remove lgetcount, lretcount (outstanding LAYOUTGETs/LAYOUTRETUNs)fs/nfs/nfs4proc.c fs/nfs/pnfs.c fs/nfs/pnfs.h +1 more+15 -410 replies
4/8pnfs-submit: change stateid to be a unionfs/nfs/callback_proc.c fs/nfs/callback_xdr.c fs/nfs/delegation.c +6 more+89 -581 reply
5/8pnfs-submit: request whole file layouts onlyfs/nfs/callback_proc.c fs/nfs/pnfs.c+9 -231 reply
6/8pnfs-submit: change layouts list to be similar to the other state list managementfs/nfs/callback_proc.c fs/nfs/client.c fs/nfs/inode.c +3 more+16 -141 reply
7/8pnfs-submit: forgetful client modelfs/nfs/callback_proc.c fs/nfs/inode.c fs/nfs/nfs4_fs.h +4 more+139 -877 replies
8/8pnfs-submit: support for cb_recall_any (layouts)fs/nfs/callback.h fs/nfs/callback_proc.c+58 -11 reply

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: Forgetful cleint and some layout cleanups

This set of patches includes a first attempt to implement the forgetful client model for the pNFS client. The model is explained is patch 7. It also includes some minor cleanups in the layout management code that help to improve the maintanability of the current code.

Passed cthon tests against the pyNFS server, and against a modified version of the pyNFS server that randomly issues recalls after opens.

Alexandros Batsakis (8):
pnfs-submit: clean struct nfs_inode
pnfs-submit: clean locking infrastructure
pnfs-submit: remove lgetcount, lretcount (outstanding
LAYOUTGETs/LAYOUTRETUNs)
pnfs-submit: change stateid to be a union
pnfs-submit: request whole file layouts only
pnfs-submit: change layouts list to be similar to the other state
list management
pnfs-submit: forgetful client model
pnfs-submit: support for cb_recall_any (layouts)

 fs/nfs/callback.h         |    7 +
 fs/nfs/callback_proc.c    |  210 +++++++++++++++++++++++-------
 fs/nfs/callback_xdr.c     |    2 +-
 fs/nfs/client.c           |    2 +-
 fs/nfs/delegation.c       |   19 ++-
 fs/nfs/inode.c            |   17 ++-
 fs/nfs/nfs4_fs.h          |    1 +
 fs/nfs/nfs4proc.c         |   50 ++++---
 fs/nfs/nfs4state.c        |    8 +-
 fs/nfs/nfs4xdr.c          |   38 +++---
 fs/nfs/pnfs.c             |  310 ++++++++++++++++++++++-----------------------
 fs/nfs/pnfs.h             |   11 +-
 fs/nfs/write.c            |    3 +-
 fs/nfsd/nfs4callback.c    |    1 -
 include/linux/nfs4.h      |   18 +++-
 include/linux/nfs_fs.h    |   30 ++---
 include/linux/nfs_fs_sb.h |    2 +-
 17 files changed, 432 insertions(+), 297 deletions(-)