From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:3595 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724Ab0EQR4v (ORCPT ); Mon, 17 May 2010 13:56:51 -0400 From: Alexandros Batsakis To: bhalevy@panasas.com Cc: linux-nfs@vger.kernel.org, Alexandros Batsakis Subject: [PATCH 0/8] pnfs-submit: Forgetful cleint and some layout cleanups Date: Mon, 17 May 2010 10:56:36 -0700 Message-Id: <1274119004-30213-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 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(-)