From patchwork Fri Apr 7 18:14:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 9670097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DFD8660364 for ; Fri, 7 Apr 2017 18:15:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D88F628634 for ; Fri, 7 Apr 2017 18:15:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD55A28636; Fri, 7 Apr 2017 18:15:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66A7428634 for ; Fri, 7 Apr 2017 18:15:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933071AbdDGSPv (ORCPT ); Fri, 7 Apr 2017 14:15:51 -0400 Received: from mx144.netapp.com ([216.240.21.25]:5551 "EHLO mx144.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932552AbdDGSPs (ORCPT ); Fri, 7 Apr 2017 14:15:48 -0400 X-IronPort-AV: E=Sophos;i="5.37,167,1488873600"; d="scan'208";a="186669746" Received: from hioexcmbx01-prd.hq.netapp.com ([10.122.105.34]) by mx144-out.netapp.com with ESMTP; 07 Apr 2017 11:02:27 -0700 Received: from VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) by hioexcmbx01-prd.hq.netapp.com (10.122.105.34) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 7 Apr 2017 11:15:46 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Fri, 7 Apr 2017 11:15:46 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=s4eASMFjPWVR7pP8+6rz4aTWW1MOBfRLVzJfbRcyUug=; b=bUVPAobKeonKCIlUMlOsXByak/jvL0RfQ8lhOAwzOyHABCtsLPKwK8ir2+9RWpJxNYZwxGX3tWuR8mVX2eIYusp4+l3ZUVoVMBbygW0Uj3zz18fYZxcMvuwGuVbjVzEI2gI+ubl+95ciEwtBRL1dw4D0OYdgRhj1CBAN8eNScB4= Authentication-Results: primarydata.com; dkim=none (message not signed) header.d=none; primarydata.com; dmarc=none action=none header.from=Netapp.com; Received: from gouda.nowheycreamery.com.nowheycreamery.com (68.40.188.1) by CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Fri, 7 Apr 2017 18:15:43 +0000 From: To: , Subject: [PATCH 03/34] NFS: Remove extra dprintk()s from callback_proc.c Date: Fri, 7 Apr 2017 14:14:57 -0400 Message-ID: <20170407181528.2832-4-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170407181528.2832-1-Anna.Schumaker@Netapp.com> References: <20170407181528.2832-1-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 X-Originating-IP: [68.40.188.1] X-ClientProxiedBy: DM5PR20CA0021.namprd20.prod.outlook.com (10.173.136.159) To CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) X-MS-Office365-Filtering-Correlation-Id: d225b259-6a51-489f-188c-08d47de21b19 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 3:B7vbimCJk/nxltr7Xk2vpR1mXpmE0gfZ5EWfyfuKhxuTqFGcROb4y2VEkXZibCEVQSP4JuJXN+9g0mRUtm7gMjL81XhvezJOrqJDukqjyVG8wldiqkv5Rok3KCFo/G+/OdnOCqL909or9dvURbVp2sAUaDVAPI/0wKumKy3SgiK+dPOlBw6eD36q59taoL8/OZ/RHpL4UqIBAQmQNMCBA97FhFpN/nf6cnX4sScfnMQ8ZZakJy3UVUa0dQAtstTSSFjF40j+UHUjXeXtFa5KGCNByHe3CiNaar5QD9O14WpC84dirGlEm8/LbN3vGPeYS4nP0jUILPR7KRlq26Qpyg==; 25:jsvZ7EL1GXyRy3PgWqhck40yfVWgUPRm1QFBBjyA2dQwzmFUsunaqEK7BxHqPckHZWf71fjY8oXfBRr7k8SR6sdWHPb8G/P3hWwRe2ymK+TGbpOadQzyK/UTG9RyCvfkCBNFSgKalCxXRMG4YrTDDbmVg3VrFNDonqKkD1Siu3lh3bv46vgikR0z7QDCFO9aeYiPBYdECpYOWPVVOUp3ype/FnfLKaKZ2MoCGmUe6YJvl8NOIXZc2EHAhZmbSRR8Kjklx/+TwUd+/MEFcJQ3fEEsns6iAqAvurhwi5mImUjhz/9kAOfyk+SADLo07DWP67DtxEXFZ+J056XZNEbIT+Z32IV2GAbXfwsEytOOLlaSrIyv+RIbImkT4YJUagbaFN98XmTcJa/4LfZGLurVTreIf2L/ppIqeRudU1v9mBUC2qrOaMSVP2Ov0Q64WyAzL19Alj8yw8xnUO/WZ9LfrQ== X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 31:z7ddO3SPEuIH1dSSWq+Cvj+OD/Hmiq3ziUMDYVKWS0tAF63gUR5zM9SPCqz+2PxLkhsifG0Ux58HEJP3ymP+j3Glmc3XLUw8TTHGJiMoDBt+rtzs6baYfHEJKQsVGFl6xTuWUqhIAhKJ3b6igmolU+rms0UrxI2vvTVnnwJQ3XJT9pMQ2OPeo2cngdjGLQwLy9KYgEvRs97IMn02dF/+jfAed39X6YOKg2AtrPprhd35iopCT5QoLMA8S1lPaWi1bhCLzujJ83XBnR7OOf6Y6wyOUZ+4mqEiyqjqHYYyDZg=; 20:Vif4MkKKVLNS/qbGWE1zV4YD6WVAandeBxi37B6gxZoDAE/h6R7YAAcDMFfqwZ8wFKopYvBThQW2dTQ+/ZOslawaILCRBYoA/kESzXQyZgKPaUze+vyxm8A+d9SS4X7GrKLe7+Qblakx3QTHCi26q9VNeiHMdIG48FrODJ7cfKLruJk6FbsHr98SwVcpV18yhPSJV7nQ6DvsrcswzPi5Zl1gMyorM8v5E9aLXkbDTUZCLBdSOSaC/B2M/NcoNtlt1X6aQWHosL6V/Z1EXjehJgXdvyuZ2HWL7GJwxcLVycMRLncwld537gxjPKv9Mc6apALC9FZJKDeqluSDeeNFgcAKF1HCbep9EskZwxWHxi/hV+vw2gihER4I3a8n6FsI/TXlRjWyx46jkBTSgUiuh8T627+xTOAL/V/pvrWKseLdup52Xb0pOC2Cj8vL6eSi1fzBPUdndOwk1djuT3v80WC39auN0r9JYC7cjt/dUr+Gq13GY59Glhojm47wM4u+ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:CY4PR06MB2472; BCL:0; PCL:0; RULEID:; SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 4:GojhVNra65JTZiWSdRa8W5mddvMG6YFDHVQ4ooG8WfOTwskbPa1dRKsPETzGpTZ3dQ/OBUscKeRJMVQPMcIzuqreOJTgl1u2h9j8/39J9z4x+mYdLfF4rHtKg3WgmQR9+PcG3bG5B5dLvVrr74CtKbvS8WmF6b/MW2kygDCFCMqId26qya10NgInrm4UtOpkf4RUFpik4vePm4ZE0CAtbbC1k8QUKEmbqLUrKv0/EYitGimuspoIwGel0AFuZH0ltVt7mzLOSgp5IOR0tcpGvN7HM5FB27l8qqbFfAjIhSUOvZQWyhohkE5Y3ahJXP4QV8h9LcDDmR8DDx1A39KfRg1KJUBmp8xa44VHczlZAaNVZhdqZxljzs3QzkjyBF/N3VF7/llKkT2g6+qfzXqY89QK2+II1zOnDs+4LgUHCz6TFXRKAQPoCuZbl3+3Mwgx9ZpcoI9RmWWeVcSAY2nlOsXBqGo3fqthMT/w1gQKF+x6bF6QhcbifNqb9yQQLKZkUW47syUDbZUGsv/+6mINa2kwBN8cLQZYFnO6+sg111ARAVBT4WXiF0DRBVMEZIxZrGRcrbtrlJA4xdkh39BJ1qMNjXvKW8Zh1C8AVp4OP20yUzFmizCJOv3gdUq4dyqbB5e/SjclZDm6hiFKs1xxBbC1yeQK5bDluNgpuRv82t3r2Y/WSJGYJjZdojFAJxB6xH00726HLhdgFBFSG1Nka+TvS08v30w1r2u3A8HT6cTgUoGv8++pf7hQYgKHaBanY0tVVNi67XKi38n0p1/nQw== X-Forefront-PRVS: 0270ED2845 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(50226002)(8676002)(81166006)(76176999)(50466002)(50986999)(3846002)(86362001)(47776003)(66066001)(42186005)(1076002)(6116002)(2906002)(48376002)(6506006)(2876002)(2950100002)(189998001)(305945005)(86152003)(6512007)(6666003)(7736002)(5003940100001)(6486002)(53936002)(38730400002)(25786009)(36756003)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2472; H:gouda.nowheycreamery.com.nowheycreamery.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR06MB2472; 23:qxlT4KnoK/nnNg46mm8DagtZOtJLKDbY6Y9ADhr6j?= =?us-ascii?Q?Y+e0xN48yoRCIsL+sudDbRPGSpPtEKBVzfNpfQzvH4+B6FaxD5fLVimfTxLV?= =?us-ascii?Q?T2xd9wDM5AlPQ2r2R3mLy96iTiziFva8ceTP0b7w98uthk+PotLOC3ydqyJP?= =?us-ascii?Q?VLjOSsa0Bkny9+F0+nbr6kMcLHeqoy9X/ju+otlZ2SQS8LHNs+lKPz6V0nbW?= =?us-ascii?Q?N2SR34+HYMaHMJncvjfMYQRqp9GpBFMyDkxE3ToerQPxbRrDYCIqNxtZawj/?= =?us-ascii?Q?oozszKN8mkZlX7qxjAPYYf5yTYZTbyUPN1F56+9mjqNG/sVU9pX+lKXFYOm0?= =?us-ascii?Q?GT5GR6Ngg3I74h436aVcVPliLx9w5QJiccOqYBcP6ABLAe2UjnkGJ2+ptHY5?= =?us-ascii?Q?WBtwGWKJcRrWVzpT6+HXtBkS6XG/QFDHuzGSAvh/8nmuSXO1LwCvMM4ksXhj?= =?us-ascii?Q?Hern6N/WUqKHePZh3vAFUCq7N2gT21u7K3J/7SbAJG21UJ+OyY2xKcpvLVgV?= =?us-ascii?Q?jAa1k1i8E2mO8Bd0yCaZLhBM8fWkNZE/+u/Lb7r00RJVPQhUwIZx/tOdk66r?= =?us-ascii?Q?J+xaXa8/uaetuWTAJn0gAjyNIliKfPL1mqM2gTcQgzfnslLiQ8t7rRo8sP9E?= =?us-ascii?Q?X1L4Nx+Y5Aw6C/zMXHdD8+AUlvBCnYqL8EktLPmJ+OS3uQnvgPzlENVvc+sx?= =?us-ascii?Q?i/Xlt4gBWD9VihgeKdDtzRIP9iJvoD2UGRMVC2f4KY9Z3qvZF7/1y7kRMCLY?= =?us-ascii?Q?wS5KyJnjSpLCL0MQDi1NUKDG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 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 7:YViS0POiJAH6of5jEZbzThZbT2tcJhiVQS1aQAaz2vPa3UcHACps4vbqAmi4oqcDENj2Xu5nB0CJX3pZRQ0whAHj4pIwgTlsO2r2kG3HzQ5UD/VjWiOo2qsuzdC8d44eusyycBrD0IDtdDIH6uDXSqvVkxG25jefDCKZos3knpXEPTacGAzyUI2mE+UR1bc5bdozpWx9sOEJVy0DOe82kvhAO1lp6i9rOh/6HtIB9ko7asIcf/HMUu9QI0/xbuDAPieDEyhlWJ5OYSv/8iIGB/9VAPUpf2zADkd0y9WdNojolDKdItJ/OznbM0czP/+dF5GSUmQPt+HqDsHBjtUmBg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2017 18:15:43.3980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2472 X-OriginatorOrg: netapp.com Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Anna Schumaker Signed-off-by: Anna Schumaker --- fs/nfs/callback_proc.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c index e61e4ccc181a..e7f041447afd 100644 --- a/fs/nfs/callback_proc.c +++ b/fs/nfs/callback_proc.c @@ -351,8 +351,6 @@ __be32 nfs4_callback_devicenotify(struct cb_devicenotifyargs *args, struct nfs_client *clp = cps->clp; struct nfs_server *server = NULL; - dprintk("%s: -->\n", __func__); - if (!clp) { res = cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION); goto out; @@ -371,8 +369,6 @@ __be32 nfs4_callback_devicenotify(struct cb_devicenotifyargs *args, goto found; } rcu_read_unlock(); - dprintk("%s: layout type %u not found\n", - __func__, dev->cbd_layout_type); continue; } @@ -382,8 +378,6 @@ __be32 nfs4_callback_devicenotify(struct cb_devicenotifyargs *args, out: kfree(args->devs); - dprintk("%s: exit with status = %u\n", - __func__, be32_to_cpu(res)); return res; } @@ -404,16 +398,11 @@ static __be32 validate_seqid(const struct nfs4_slot_table *tbl, const struct nfs4_slot *slot, const struct cb_sequenceargs * args) { - dprintk("%s enter. slotid %u seqid %u, slot table seqid: %u\n", - __func__, args->csa_slotid, args->csa_sequenceid, slot->seq_nr); - if (args->csa_slotid > tbl->server_highest_slotid) return htonl(NFS4ERR_BADSLOT); /* Replay */ if (args->csa_sequenceid == slot->seq_nr) { - dprintk("%s seqid %u is a replay\n", - __func__, args->csa_sequenceid); if (nfs4_test_locked_slot(tbl, slot->slot_nr)) return htonl(NFS4ERR_DELAY); /* Signal process_op to set this error on next op */ @@ -467,15 +456,6 @@ static bool referring_call_exists(struct nfs_client *clp, for (j = 0; j < rclist->rcl_nrefcalls; j++) { ref = &rclist->rcl_refcalls[j]; - - dprintk("%s: sessionid %x:%x:%x:%x sequenceid %u " - "slotid %u\n", __func__, - ((u32 *)&rclist->rcl_sessionid.data)[0], - ((u32 *)&rclist->rcl_sessionid.data)[1], - ((u32 *)&rclist->rcl_sessionid.data)[2], - ((u32 *)&rclist->rcl_sessionid.data)[3], - ref->rc_sequenceid, ref->rc_slotid); - status = nfs4_slot_wait_on_seqid(tbl, ref->rc_slotid, ref->rc_sequenceid, HZ >> 1) < 0; if (status) @@ -580,8 +560,6 @@ __be32 nfs4_callback_sequence(struct cb_sequenceargs *args, res->csr_status = status; trace_nfs4_cb_sequence(args, res, status); - dprintk("%s: exit with status = %d res->csr_status %d\n", __func__, - ntohl(status), ntohl(res->csr_status)); return status; }