From patchwork Wed Feb 8 22:24:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9563675 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 ABE1A6020F for ; Wed, 8 Feb 2017 22:28:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DE87284F2 for ; Wed, 8 Feb 2017 22:28:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 727A62852C; Wed, 8 Feb 2017 22:28:34 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 0E6B6284F2 for ; Wed, 8 Feb 2017 22:28:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751235AbdBHW2d (ORCPT ); Wed, 8 Feb 2017 17:28:33 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:63832 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbdBHW1x (ORCPT ); Wed, 8 Feb 2017 17:27:53 -0500 X-IronPort-AV: E=Sophos;i="5.35,348,1483977600"; d="scan'208";a="76618182" Received: from unknown (HELO milsmgep14.sandisk.com) ([63.163.107.225]) by ob1.hgst.iphmx.com with ESMTP; 09 Feb 2017 06:28:21 +0800 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 65.72.18895.BCA9B985; Wed, 8 Feb 2017 14:25:15 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Wed, 8 Feb 2017 14:25:11 -0800 X-AuditID: 0ac94371-0fadb980000049cf-f9-589b9acb3bca Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 41.42.18148.7CA9B985; Wed, 8 Feb 2017 14:25:11 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: , Andy Grover , David Disseldorp Subject: [PATCH v4 12/37] target: Remove an overly chatty debug message Date: Wed, 8 Feb 2017 14:24:42 -0800 Message-ID: <20170208222507.25715-13-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170208222507.25715-1-bart.vanassche@sandisk.com> References: <20170208222507.25715-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsXCddJ5ke7pWbMjDKZflrDYP+sZk8XX/9NZ LFqXvmVyYPZ4v+8qm8fm09UenzfJBTBHcdmkpOZklqUW6dslcGV83/KQqWACZ0Vbw2uWBsaP 7F2MnBwSAiYS/c+7GLsYuTiEBJYySSx8vYkZwtnOKLHy4WYmmKorx2+yQiQ2Mkp82tzCBpJg EzCS+PZ+JguILSJgIPG79wIjiM0skCHx4/QGsBXCAu4SLTsXg8VZBFQk+i/tZAaxeQUcJE68 7mOFWCAvsavtIpjNCRSf8PIZWL2QgL3EqwNfGCFqvrFIrN1QD9ErKHFy5hMWiF0SEgdfvGCG qFeXOLlkPtMERqFZSMpmISlbwMi0ilEsNzOnODc9tcDQRK84MS8lszhbLzk/dxMjJIgLdzC+ vu19iFGAg1GJh/eC9ewIIdbEsuLK3EOMEhzMSiK8KdOAQrwpiZVVqUX58UWlOanFhxilOViU xHmzZKdGCAmkJ5akZqemFqQWwWSZODilGhgrks32RB2VvqJ3d9Ph61yRBnF+P2YX286ZdXTN Az7lrVlGSx7xJt/p+3zEJMI5pjOQL/bGl+It7/4V8S8NO/ThML/mrnmmYbctJLJcPv5gDS60 LPtTPqHkVfUmH4W4o+Xy+aELpCpe7Hi3l1VrvTXftcnzOtg4WI0aW8OaPr1e3JdQF7r7mowS S3FGoqEWc1FxIgCBSlh6XgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNJMWRmVeSWpSXmKPExsXCtZGTTff4rNkRBucOqFjsn/WMyeLgzzZG i6//p7NYtC59y+TA4vF+31U2j2lrzjN5bD5d7fF5k1wASxSXTUpqTmZZapG+XQJXxvctD5kK JnBWtDW8Zmlg/MjexcjJISFgInHl+E3WLkYuDiGB9YwSvTsvMoMk2ASMJL69n8kCYosIGEj8 7r3ACGIzC2RIPL98CCwuLOAu0bJzMVicRUBVYu2jVawgNq+Ag8T2nVOYIRbIS+xquwgW5wSK T3j5DKxeSMBe4tWBL4wTGLkXMDKsYhTLzcwpzk3PLDA00itOzEvJLM7WS87P3cQI8X7UDsbr E80PMTJxcEo1ME7eWds+S3t9S83HHI247DX3ll3b5DqtQ+ltoJfI8vKHhh+fGW/M3pu4M2tV 1YFt07T/WhmEmdWHHK3Pa+r/pp9ut/OjPP8ajx+H9JRXzKopUsnsv5nj9pH9cf2T3pXsdx3P f2jadejmFb5tL27PuX1+feXZFhtnESeGp4wP5lTf0fddHGGtPEWJpTgj0VCLuag4EQDLZ4Cj rgEAAA== MIME-Version: 1.0 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enabling dynamic debug for the target_core_mod kernel module causes the system log to be spammed with the "Incremented ..." message. Hence remove it. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Reviewed-by: Christoph Hellwig Cc: Andy Grover Cc: David Disseldorp --- drivers/target/target_core_transport.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 2d651f28e90d..01fd61eb2e12 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1979,8 +1979,6 @@ static void transport_complete_task_attr(struct se_cmd *cmd) if (cmd->sam_task_attr == TCM_SIMPLE_TAG) { atomic_dec_mb(&dev->simple_cmds); dev->dev_cur_ordered_id++; - pr_debug("Incremented dev->dev_cur_ordered_id: %u for SIMPLE\n", - dev->dev_cur_ordered_id); } else if (cmd->sam_task_attr == TCM_HEAD_TAG) { dev->dev_cur_ordered_id++; pr_debug("Incremented dev_cur_ordered_id: %u for HEAD_OF_QUEUE\n",