Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:54324 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753117Ab0FGVLZ (ORCPT ); Mon, 7 Jun 2010 17:11:25 -0400 From: Alexandros Batsakis To: linux-nfs@vger.kernel.org Cc: bhalevy@panasas.com, Alexandros Batsakis Subject: [PATCH 0/8] forgetful client v2 Date: Mon, 7 Jun 2010 14:11:45 -0700 Message-Id: <1275945113-3436-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 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 pyNFS server that randomly issues layout recalls after opens. Alexandros Batsakis (8): pnfs-submit: clean struct nfs_inode pnfs-submit: clean locking infrastructure 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 | 276 +++++++++++++++++++++------------------------ 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, 414 insertions(+), 276 deletions(-)