From patchwork Wed Apr 20 17:27:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 722381 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3KHRc0t023058 for ; Wed, 20 Apr 2011 17:27:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755341Ab1DTR1o (ORCPT ); Wed, 20 Apr 2011 13:27:44 -0400 Received: from daytona.panasas.com ([67.152.220.89]:57147 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755296Ab1DTR1o (ORCPT ); Wed, 20 Apr 2011 13:27:44 -0400 Received: from lt.bhalevy.com ([172.17.33.135]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Apr 2011 13:27:43 -0400 From: Benny Halevy To: linux-nfs@vger.kernel.org Subject: [RFC 11/27] pnfs: per mount layout driver private data Date: Wed, 20 Apr 2011 20:27:41 +0300 Message-Id: <1303320461-21369-1-git-send-email-bhalevy@panasas.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <4DAF0DE1.6020609@panasas.com> References: <4DAF0DE1.6020609@panasas.com> X-OriginalArrivalTime: 20 Apr 2011 17:27:43.0343 (UTC) FILETIME=[41B467F0:01CBFF80] Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 20 Apr 2011 17:27:45 +0000 (UTC) Signed-off-by: Benny Halevy --- include/linux/nfs_fs_sb.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 216cea5..c5b3fd0 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -142,6 +142,9 @@ struct nfs_server { filesystem */ struct pnfs_layoutdriver_type *pnfs_curr_ld; /* Active layout driver */ struct rpc_wait_queue roc_rpcwaitq; + void *pnfs_ld_data; /* Per-mount data */ + unsigned int ds_rsize; /* Data server read size */ + unsigned int ds_wsize; /* Data server write size */ /* the following fields are protected by nfs_client->cl_lock */ struct rb_root state_owners;