Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:48250 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932087Ab0FHWOt (ORCPT ); Tue, 8 Jun 2010 18:14:49 -0400 From: Alexandros Batsakis To: linux-nfs@vger.kernel.org Cc: bhalevy@panasas.com, Alexandros Batsakis Subject: [PATCH 0/7] forgetful client Date: Tue, 8 Jun 2010 15:14:54 -0700 Message-Id: <1276035301-2019-1-git-send-email-batsakis@netapp.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Content-Type: text/plain MIME-Version: 1.0 This set of patches (2.6.35-rc2) includes a first attempt to implement the forgetful client model for the pNFS client. The model is explained is patch 6. 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 pyNFS server that randomly issues layout recalls after opens. Alexandros Batsakis (7): pnfs-submit: clean struct nfs_inode pnfs-submit: remove lgetcount, lretcount pnfs-submit: change stateid to be a union pnfs-submit: request whole-file layouts only pnfs-submit: change layout list to be similar to other state lists pnfs-submit: forgetful client (layouts) pnfs-submit: support for CB_RECALL_ANY (layouts) fs/nfs/callback.h | 7 ++ fs/nfs/callback_proc.c | 231 ++++++++++++++++++++++++++++++++++----------- fs/nfs/callback_xdr.c | 2 +- fs/nfs/client.c | 2 +- fs/nfs/delegation.c | 19 ++-- fs/nfs/inode.c | 12 +- fs/nfs/nfs4_fs.h | 1 + fs/nfs/nfs4proc.c | 46 +++++---- fs/nfs/nfs4state.c | 4 +- fs/nfs/nfs4xdr.c | 38 ++++---- fs/nfs/pnfs.c | 214 +++++++++++++++++------------------------ fs/nfs/pnfs.h | 3 +- fs/nfsd/nfs4callback.c | 1 - include/linux/nfs4.h | 16 +++- include/linux/nfs4_pnfs.h | 2 +- include/linux/nfs_fs.h | 28 +++--- include/linux/nfs_fs_sb.h | 2 +- 17 files changed, 372 insertions(+), 256 deletions(-)