From patchwork Fri Apr 22 08:46:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 726531 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 p3M8kXbx021722 for ; Fri, 22 Apr 2011 08:46:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718Ab1DVIqc (ORCPT ); Fri, 22 Apr 2011 04:46:32 -0400 Received: from daytona.panasas.com ([67.152.220.89]:6980 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485Ab1DVIqb (ORCPT ); Fri, 22 Apr 2011 04:46:31 -0400 Received: from lt.bhalevy.com.com ([172.17.33.156]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 22 Apr 2011 04:46:30 -0400 From: Benny Halevy To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH] nfsstat: reorder nfs4 stats for 2.6.38 and up Date: Fri, 22 Apr 2011 11:46:20 +0300 Message-Id: <1303461980-6731-1-git-send-email-bhalevy@panasas.com> X-Mailer: git-send-email 1.7.3.4 X-OriginalArrivalTime: 22 Apr 2011 08:46:30.0593 (UTC) FILETIME=[C684F310:01CC00C9] 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]); Fri, 22 Apr 2011 08:46:34 +0000 (UTC) match order in 2.6.38, 2.6.39 (-rc3) and development tree while at it, get rid of obsolete ds_write and ds_commit Signed-off-by: Benny Halevy --- utils/nfsstat/nfsstat.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) git://linux-nfs.org/~bhalevy/pnfs-nfs-utils.git updated respectively diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c index f31bb81..a4a8034 100644 --- a/utils/nfsstat/nfsstat.c +++ b/utils/nfsstat/nfsstat.c @@ -126,14 +126,11 @@ static const char * nfscltproc4name[CLTPROC4_SZ] = { "sequence", "get_lease_t", "reclaim_comp", + "getdevinfo", "layoutget", "layoutcommit", "layoutreturn", "getdevlist", - "getdevinfo", - /* nfsv4.1 pnfs client ops to data server only */ - "ds_write", - "ds_commit", }; static const char * nfssrvproc4opname[SRVPROC4OPS_SZ] = {