From patchwork Tue May 23 23:48:35 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: 9744433 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 3F78E6037F for ; Tue, 23 May 2017 23:49:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32C5D28818 for ; Tue, 23 May 2017 23:49:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 277C52885B; Tue, 23 May 2017 23:49:25 +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 AF78B28818 for ; Tue, 23 May 2017 23:49:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967758AbdEWXtX (ORCPT ); Tue, 23 May 2017 19:49:23 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:36711 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765535AbdEWXtH (ORCPT ); Tue, 23 May 2017 19:49:07 -0400 X-IronPort-AV: E=Sophos;i="5.38,383,1491235200"; d="scan'208";a="19876949" Received: from mail-co1nam03lp0024.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.24]) by ob1.hgst.iphmx.com with ESMTP; 24 May 2017 07:49:07 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7tyYMtG4CUR01xpgTW1hhUkLK08egUGmx5TG/Fhgvak=; b=t2gacWuLbBos9QxRcvIq3ITa+7ZaMQQx1bcAwlcfg7CUqa2dQh1qEjkBC0LKZCG5+qcm5qXpxum8tLkAkogp1lgINCJ8HeGR7R2KFOc3iEDtOnEDlY2L5VEu/R/Xyp8uW6r3PzmJc1C8lxc3SbE80Vl52sygxCG1Hi6drWzqamI= Received: from CO2PR04CA0116.namprd04.prod.outlook.com (10.165.95.18) by MWHPR04MB0369.namprd04.prod.outlook.com (10.173.48.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Tue, 23 May 2017 23:49:04 +0000 Received: from BN3NAM04FT025.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::206) by CO2PR04CA0116.outlook.office365.com (2603:10b6:104:7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Tue, 23 May 2017 23:49:04 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN3NAM04FT025.mail.protection.outlook.com (10.152.92.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1075.5 via Frontend Transport; Tue, 23 May 2017 23:49:03 +0000 Received: from MILHUBIP03.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 AC.64.19026.E6AC4295; Tue, 23 May 2017 16:49:02 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 23 May 2017 16:48:58 -0700 X-AuditID: 0ac94371-41ba798000004a52-07-5924ca6ebf5c Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0D.F2.18148.A6AC4295; Tue, 23 May 2017 16:48:58 -0700 (PDT) From: Bart Van Assche To: Nicholas Bellinger CC: , Bart Van Assche , Doug Ledford , "Christoph Hellwig" , Andy Grover , David Disseldorp Subject: [PATCH 14/33] IB/srpt: Make a debug statement in srpt_abort_cmd() more informative Date: Tue, 23 May 2017 16:48:35 -0700 Message-ID: <20170523234854.21452-15-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170523234854.21452-1-bart.vanassche@sandisk.com> References: <20170523234854.21452-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKLMWRmVeSWpSXmKPExsXCddJ5kW7eKZVIgys7pCz2z3rGZPH1/3QW i5fnP7BarFx9lMmibfUZRovWpW+ZHNg87m8/wuSx+2YDm8f7fVfZPDafrvb4vEkugDWKyyYl NSezLLVI3y6BK6N74iu2goccFXu2T2FuYNzB3sXIySEhYCLxf9J/pi5GLg4hgaVMEqdnP2OE cHYwSrzr3QBX1TrjIDNEYiOjROO6D0wgCTYBI4lv72eygNgiAjoSs+6+YAcpYha4xyix7kcz WJGwQLTExpkrwCaxCKhK9L7Zywxi8wo4SGy+dYMZYoO8xNktO8FsTqD4yj3bgGwOoG32Epe/ K4PMlBCYxSqxanEbVK+gxMmZT8AWMwtISBx88QIsLiSgLnFyyXymCYxCs5CUzUJStoCRaRWj WG5mTnFuemqBoYlecWJeSmZxtl5yfu4mRkjgF+5gfH3b+xCjAAejEg9vgoNKpBBrYllxZe4h RgkOZiUR3uUbgEK8KYmVValF+fFFpTmpxYcYpTlYlMR5s2SnRggJpCeWpGanphakFsFkmTg4 pRoYFx3ZGvL9eXWjyPHrySvENghNfJ+2VFK+fObvysNWHrfXC30Td627Maki2eCdv3xnb+DU DXkFh45UHuQ9viPourylfef82bd+LBV/lKZ7NCY3/tVCbYaHR8LOBdcVfLVIe9PQEXJo74oX OzYt8WFfI8qW31YScVvsTuLu3+IM3j+bp4qHh39oVWIpzkg01GIuKk4EALQtRsZ4AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEJMWRmVeSWpSXmKPExsXCtZGTTTfrlEqkwb9+dYv9s54xWRz82cZo 8fX/dBaLl+c/sFqsXH2UyaJt9RlGi9alb5kc2D3ubz/C5LH7ZgObx/t9V9k8pq05z+Sx+XS1 x+dNcgFsUVw2Kak5mWWpRfp2CVwZ3RNfsRU85KjYs30KcwPjDvYuRk4OCQETidYZB5m7GLk4 hATWM0r8WL6fCSTBJmAk8e39TBYQW0RAR2LW3RdgDcwCDxglfs6NB7GFBaIlNs5cARZnEVCV 6H2zF2gQBwevgIPE6dOFEPPlJc5u2ckMYnMChVfu2QZWIiRgL3H5u/IERu4FjAyrGMVyM3OK c9MzCwyN9IoT81Iyi7P1kvNzNzFCQiVqB+P1ieaHGJk4OKUaGJftyS64+Fnlxs2qH3JMZ5bN rxNeEhd4MYYtevKlrPPOT9Ue87wLlZkhlX5e9PwO9uTFi173RAhNz429yXl0jj9rfBfLmsVP Kyffe6yyoYVpA5fU/O+RfpNcHny+sui8bbOJJc+Gx/6bzlx705naUvL5308Bt8boTbw9u48f 8Dwp4nXtzapb1/8osRRnJBpqMRcVJwIAuUZNJcUBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39850400002)(39400400002)(39450400003)(39840400002)(39860400002)(2980300002)(438002)(189002)(199003)(9170700003)(86362001)(4326008)(33646002)(50986999)(50226002)(478600001)(5660300001)(106466001)(2906002)(189998001)(72206003)(36756003)(1076002)(54906002)(50466002)(48376002)(8676002)(2950100002)(356003)(6916009)(81166006)(5003940100001)(6666003)(76176999)(77096006)(110136004)(38730400002)(8936002)(305945005)(47776003)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR04MB0369; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT025; 1:VuDCcVGGcZhmKkwngtRURZvYfgDjmwt5ZYq3BC5kECGztwEQXLVy9AcuU0d6suJ8O6YZYPbyIEHVxrwY4QaBiSpZHJV3edz2NlpwBiLU7GEU4mmYmhWBdUd96+2lSqecUUe2J7Lbwq8h9btvkU1W++AA7hcruwLthy+ofPn4VMEJHLVCxYgsWYh2sEXidHQ9KlECB9MDR/ldG+2N/qfSJ7OXnGfH6o9t3XQkPw4vIO5O9PVCkDtmAuu0YGdJdvsjvSBfR+oXI02/jsPl7t3td0ULrE1M31d+rtroVc0LfU4Qy/PGxqvZ86hTAFpxQBG7kbHGFx053e5V4sTqM2nv6t2ZkbsrL+rrrZvVXNjqjIq2oT8dn0Hwbb+pOyVbsnG1eruo2qhnipFqxFOyjJfukmPMNl/mZFgcqXcD/xjw0TeUul60bVoLMl3FVkMPx3GdTRf5M3+1NdkgdO64OaP3/i1AFAQz2gTM9TlvNEdA0cyv9mC2fMuH1GM15WG1r5DC5ACN7lBvgy8V4W3T1YGRR4hRMRNEZnkD/9ywJM8wo6M= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR04MB0369: X-MS-Office365-Filtering-Correlation-Id: a6a94c27-f19a-4cc0-8c5a-08d4a2364b40 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR04MB0369; X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0369; 3:xO7X40f4Ib/xqoEXLqj5079a2JXXKRJGsXoZSl69GOy7jTBkRzmdBgfV97sJadOvpS2x4WvogC6a639MryEYMtgCs/bYBvnDCnNM/uEvrR6X2Qp+fGdMh3QMt1wpIVPqD3Pby0MQlGD7uK3/apUlVwYjexj+qoTcuIMFMKp5n4WGfdc2AEt8FXiPVDsf0aSvgvt1ecUJ2s5kygGYwTK71wn3XJQl+ByBW043CT1aLb/i9kOc2y8PItQx6HugStdtm+eJ+pzTGcEHrRR8CrH5ig0w7C7rWVj6j5ozaZHMB3hrthQG/g010wDx5reMSTWF7/iG8XhQHO1qhViPF9SI/WbsXRwNoiE/o9KzD4A38VUUhNMFJasDfiu4Nkhuky8PF2YQGJPnemzeZG5BWJkymITyR7XlqYv4FsC31aOPz1Sohc9HKN36PpoDVo6vWohkA7FKoxQdfdynCYD+ZeQtuaGyOilXHDVMgoVLT29lQfxupta0XIK5Hfz3jnuL1Jaf X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0369; 25:0Tvn7K0agtY2nrAbqRhj9blQpdZrdq81TluSSgwm/h0TMThX5B/TcNLwJE6vC6+mpszXAwYY+V4aWBNJQAHnIhYe+w89kvn6ylFG5g4xEyjziBy19ma0s578H4gXjHhMwhj57GaIKxa95euyVP7+oQKjbWdITiFFiMY+3yBDpOOustreN9te8BN3JEnJvtxdw4wIU7rVuvf3IM67ZdMPQw9RWeiBRlY/Kde2VCJVmnLxuzEFzpZMtRPeYvtWg67GqEPX27L/K7hphnwav5ffiy2hOAZg0QdNQDLBzMKYTQRA+TpGLg7WVXKA2qTRcIrYXF7r1djvP5/mRVthTHUs9tEB5Ok3DkCix5CWEIM+5I7MNdg0iuXkYiJOINavZPe2gYBGQcQi7xtL3QefJd5LJM6L79rAZjzgnWje/o7BfnTl3SXltpeeKlxE60b5ZsRzVlQ/k0DNlAWNl27EZ7uxSovSweW+xy7Pse4ztg50b9E=; 31:vekvXvHr2usoGV2CZ+4RzHMb/V302SyACgH7dZPV1+XLd0viivynrhkowF3z1R1JyevxUkhnb8OxxbhMFKte5aL54ohhLUDt+bziRaR9IMrdP0391iUPeOfw/wr6tE1ijfCl1u8+UcsfznRFHle72gPhw1PfAPCX0TUP6srHA5s8BmZ63Wu33AA5tChENPNt6KuqMOqQ59YfRzA36LoholwFosOLa0ZPeInClCsvrx0UqUbdArKGVvQp8qSMO2+WDT/9K7xelPFkXl+Lfo2nxA== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0369; 20:frQuCycJJEUws3poA/twUXXujXOecV5AZeDMIjDS+dyZNZzgLPbjFvUcLc0QAWRQl6rS6PPwlzf8RVcYihRF81MiUkqMHuExzXyWI3YeVAaqzEcvRzIe2DL6H0oisZlOkJW0nri6QOM/UWrHLF8lMzBFgQgj8q/I1Qw5ZKpUAWf8nRsHcT8fRPzPUNn1IuSPKkv7fjmNk9FzyMrvcFibdRxU9OSgEDYDVHadBL8CvM1mtOf6h71Y8Z2iaEhLn4SCBrq+4q8x0QzXfPJO5D6HrbRYleaNwLGLCEHLaPFJHJ062dyFUHpvSSfVQS7croZPx55XR1D7+8iR7qibLnooQ4NsjAG3cuJqfV0ZvMssYHS4bDIRL+EdV4cak8m7JXdSyPaLxQvu4Hjl3N5NM6jIdHe8r2RcjTk79sB0wWMSKVCfbb7oYCymkWG7ZcvuUtMUcp7MdKr+KoyBXqZh7n7qUZNCsOkZC91Spofzuu4UlGjos0LNDJnhnlokxnt8m1Vq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(13016025)(13018025)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:MWHPR04MB0369; BCL:0; PCL:0; RULEID:; SRVR:MWHPR04MB0369; X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0369; 4:WtGsQtXh6fkVUl+IixdeYi7otf2kxMhZ05b+Pwa7SNpBVIjoBqiJzOWE1WcefQItJ5Lc7W6nXs4ovDjqTOevrtniGmGj0ZUXhadxITEJg+nlwTooIoYOz9+Y+8mGpOHb13nsxan4rYPJWRhS3BD0KIUFzMjqTO5DV9EXYdGGVoicVNdbYwOaq+wBTUT5v2yRoq7vrJtbzkXhF0YMdN6JwbCrBxqLre5mH+dsoIGIbJYbobVS+brOhju2BFrbTGJpV79MkCf7HZ+lZ7uXarheFEPtZqpO1F7md+7OSUwaFj1XMHNJj1Yca+dlv+ihAr9Z3HqLfErSqmjaS/XluyPcDJVfnDbSRJMSD2lQNR0eyDwv8AsDZRnP4EFDBeDNeiE1LrrO4jKUO44gtB1JtUZ/wyaTYjivnUiDxkRkNQRrq//9qgyDKrpNqxirjsx6DKDLdDo/xqHbGuHAFp8zfrhZSoOroaCvq8+7eNMRtjuBlDj0t91eoQaPWB/sT1pFgwSJc7hxeYCL994Jfu//7UVQ8DbfVC9edowZbyA3uIRCYfJn0N5oRgcdiMX7gRZD+bW+U5MeQjsZDqGJjvQk6h7wnHLCoHSTy4FHB/dVpffqYo49oDE4vxsBowkfaeMGAD59zpZIq7HGvco5P5pmviJh+ZDSH3AEfHrdCbhw2iSheTvd6sAOCZoi86c6ERPamlTQNkCe2oUnAgG+XB5Ik7vqtZ1hXdG9c8kc647i9rC+fQG4W6lVky5Z/rZzjECtNfK+xBAJBwdoL7F/WcaE/UT5zgTNaxfk/4OcP63vDbf92EnsEI9/oiXMSP9kr+oGuBHdeVLvfQtKjpf7CGroPuRlmn34QMjMVxS3Oa+MJKb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a9hhB/UnNXTSb21dvoysfgQ5THKj+SE0esK2hXBnDMJCh+ALJ+RllhXt5NwnpfCg==; 24:qZ6ulsZ7DxWCWKIiX2Y4+ifSde/eLneDfbxzeEmn6va2rjZbwZJthuGSNbY2HEKwye+RPbdEUUm6NzTsXtwycZJmsQEmu6iPGlUEjcds9pk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR04MB0369; 7:AI96icJ8uxgX5R8hP+TNg7LlnsbaL6ow9PuKGQqjVJmb8S5rgsrw6fhyZ3x+vj4BozM4rWmLD3oUWGcnEUI8gRVVGKcULfiwK+OPJ6DttM+LYdNYvVJWbbarBZlMRj2lA4frUglKswjHo+mde0zUb2vg0196GKO049hXn2rxDujPJiXEupMmqPRa0vpVSEigSEG0eWJDm7r8lHjuKiTuw+FJ3QrKwio1CM8b5GIl5YmaQmC58PcWJkAOzf6393tmp4AYlV2CC/YEEhmHr2hQiU/Pc/mU/RPyNgL8ujKmss7V0fZ7IQO0QNSacbFLlm3/CYP6+/V5u9OPRCKZAFadig==; 20:Pl5m/8OaUf5meoxxGe7CBFNyRe+wWC01Y5K639qJXM5INMUFfBKVC4rnpARP2qVhKJAGmX1BDXqfKRMnR48CHEgdTHiySyBbhFGwIvk2t5FciRfEyY3mAwCESMmLjrKbdgKBEiXL/j6h02TFmCD8G0sKflM46K2F3f+iOGGVIRQ= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2017 23:49:03.4443 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0369 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 Do not only report the state of the I/O context before srpt_abort_cmd() was called but also the new state assigned by srpt_abort_cmd() Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Cc: Doug Ledford Cc: Christoph Hellwig Cc: Andy Grover Cc: David Disseldorp --- drivers/infiniband/ulp/srpt/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index c440e1848ec5..bcc8e3546888 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -1157,8 +1157,8 @@ static int srpt_abort_cmd(struct srpt_send_ioctx *ioctx) } spin_unlock_irqrestore(&ioctx->spinlock, flags); - pr_debug("Aborting cmd with state %d and tag %lld\n", state, - ioctx->cmd.tag); + pr_debug("Aborting cmd with state %d -> %d and tag %lld\n", state, + ioctx->state, ioctx->cmd.tag); switch (state) { case SRPT_STATE_NEW: