]> git.neil.brown.name Git - history.git/commit
NFSv4 state model update
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 7 Oct 2003 16:51:33 +0000 (12:51 -0400)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 7 Oct 2003 16:51:33 +0000 (12:51 -0400)
commit1a7bc91499344d6be96098622829e297206669eb
tree04bcaa23a1ee2ad8cae1f50dd6ecfcba23efa059
parent3e97d5ee3c57592e19e2a7cef0b05dd0e59b9611
NFSv4 state model update

  - Hierarchy of state attached to nfs4_client in order to
    simplify state recovery.
    state_owners hang off nfs4_client, whereas state hangs
    off both open_owners and the nfs_inode.

  - Model tries to minimize the number of open_owners on
    the server by recycling unused open_owners into a pool.

  - NFSv4 state attached to file->private_data. Previously
    this was used by credentials (and still is for NFSv2/v3)
    Abstract out setup/release of struct file and nfs_page
    structure initialization in order to cope with these
    conflicting uses of private_data.
14 files changed:
fs/nfs/dir.c
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
fs/nfs/nfs4xdr.c
fs/nfs/pagelist.c
fs/nfs/proc.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_fs.h
include/linux/nfs_page.h
include/linux/nfs_xdr.h