From patchwork Wed Apr 8 16:47:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 6181481 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 55F799F2E9 for ; Wed, 8 Apr 2015 16:47:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 82C7520373 for ; Wed, 8 Apr 2015 16:47:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D76F20374 for ; Wed, 8 Apr 2015 16:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932547AbbDHQrl (ORCPT ); Wed, 8 Apr 2015 12:47:41 -0400 Received: from mx142.netapp.com ([216.240.21.19]:38151 "EHLO mx142.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932444AbbDHQrd (ORCPT ); Wed, 8 Apr 2015 12:47:33 -0400 X-IronPort-AV: E=Sophos;i="5.11,545,1422950400"; d="scan'208";a="33673464" Received: from vmwexchts03-prd.hq.netapp.com ([10.122.105.31]) by mx142-out.netapp.com with ESMTP; 08 Apr 2015 09:47:32 -0700 Received: from smtp1.corp.netapp.com (10.57.156.124) by VMWEXCHTS03-PRD.hq.netapp.com (10.122.105.31) with Microsoft SMTP Server id 15.0.995.29; Wed, 8 Apr 2015 09:47:31 -0700 Received: from davros.com (davros.ocarinaproject.vpn.netapp.com [10.63.224.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id t38GlTk0001982; Wed, 8 Apr 2015 09:47:31 -0700 (PDT) From: Anna Schumaker To: , CC: Subject: [PATCH 1/2] mountstats: Resync NFSv4 Operations List Date: Wed, 8 Apr 2015 12:47:26 -0400 Message-ID: <1428511647-14920-2-git-send-email-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1428511647-14920-1-git-send-email-Anna.Schumaker@Netapp.com> References: <1428511647-14920-1-git-send-email-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We've added several operations and removed GETDEVICELIST, Let's keep the Nfsv4ops list up to date with the kernel. Signed-off-by: Anna Schumaker --- tools/mountstats/mountstats.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index 38943eb..8f2e26e 100644 --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -195,16 +195,18 @@ Nfsv4ops = [ 'SEQUENCE', 'GET_LEASE_TIME', 'RECLAIM_COMPLETE', - 'LAYOUTGET', 'GETDEVICEINFO', + 'LAYOUTGET', 'LAYOUTCOMMIT', 'LAYOUTRETURN', 'SECINFO_NO_NAME', 'TEST_STATEID', 'FREE_STATEID', - 'GETDEVICELIST', 'BIND_CONN_TO_SESSION', - 'DESTROY_CLIENTID' + 'DESTROY_CLIENTID', + 'SEEK', + 'ALLOCATE', + 'DEALLOCATE', ] class DeviceData: