From: Tom Tucker Subject: [RFC,PATCH 02/10] rdma: sysctl for SVCRDMA transport module Date: Sun, 01 Jul 2007 18:12:28 -0500 Message-ID: <20070701231228.29354.94353.stgit@dell3.ogc.int> References: <20070701230258.29354.89949.stgit@dell3.ogc.int> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1I58ai-00036O-95 for nfs@lists.sourceforge.net; Sun, 01 Jul 2007 16:12:28 -0700 Received: from rrcs-71-42-183-126.sw.biz.rr.com ([71.42.183.126] helo=smtp.opengridcomputing.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I58al-0003Ki-KW for nfs@lists.sourceforge.net; Sun, 01 Jul 2007 16:12:31 -0700 Received: from dell3.ogc.int (localhost [127.0.0.1]) by smtp.opengridcomputing.com (Postfix) with ESMTP id A9DEA7C780 for ; Sun, 1 Jul 2007 18:12:28 -0500 (CDT) In-Reply-To: <20070701230258.29354.89949.stgit@dell3.ogc.int> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net Add sysctl flags for SVCRDMA transport module debug messages. Signed-off-by: Tom Tucker --- include/linux/sunrpc/debug.h | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h index 4c847d4..4ab8372 100644 --- a/include/linux/sunrpc/debug.h +++ b/include/linux/sunrpc/debug.h @@ -52,7 +52,7 @@ #endif #define dprintk(args...) dfprintk(FACILITY, ## args) #undef ifdebug -#ifdef RPC_DEBUG +#ifdef RPC_DEBUG # define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac)) # define dfprintk(fac, args...) do { ifdebug(fac) printk(args); } while(0) # define RPC_IFDEBUG(x) x @@ -89,6 +89,19 @@ enum { CTL_MIN_RESVPORT, CTL_MAX_RESVPORT, CTL_TRANSPORTS, + CTL_SVCRDMA, + CTL_RDMA_MAX_REQUESTS, + CTL_RDMA_MAX_REQ_SIZE, + CTL_RDMA_ORD, + CTL_RDMA_STAT_RECV, + CTL_RDMA_STAT_READ, + CTL_RDMA_STAT_WRITE, + CTL_RDMA_STAT_SQ_STARVE, + CTL_RDMA_STAT_RQ_STARVE, + CTL_RDMA_STAT_RQ_POLL, + CTL_RDMA_STAT_RQ_PROD, + CTL_RDMA_STAT_SQ_POLL, + CTL_RDMA_STAT_SQ_PROD }; #endif /* _LINUX_SUNRPC_DEBUG_H_ */ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs