From patchwork Fri Apr 22 21:12:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 8915621 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 23020BF29F for ; Fri, 22 Apr 2016 21:13:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39677201EF for ; Fri, 22 Apr 2016 21:12:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B0B1201CE for ; Fri, 22 Apr 2016 21:12:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751750AbcDVVM5 (ORCPT ); Fri, 22 Apr 2016 17:12:57 -0400 Received: from mail-bn1bon0080.outbound.protection.outlook.com ([157.56.111.80]:55624 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751708AbcDVVM4 (ORCPT ); Fri, 22 Apr 2016 17:12:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3vlcaRYmfNdzyctG8vo5N22fMAoLbqZsKN6ttZxt7Lk=; b=JuXrcvcnwlnzpIzAAKv7AUJHfcKTNeXhTwNakkMUotT2WkNuDdzxd7L9yVkNhTK1eFq/f7WZP9NIYNNz1mbit3c9oV82qugbG/4BaT3kMIgNUmxOg90wHdleNLcXmlNPBg0qf6Fane3iAzbkXPWdk2xh1AxS5y9wuee9lk6dx/A= Received: from BY2PR02CA0006.namprd02.prod.outlook.com (10.163.44.144) by BN1PR02MB024.namprd02.prod.outlook.com (10.242.210.25) with Microsoft SMTP Server (TLS) id 15.1.453.26; Fri, 22 Apr 2016 21:12:53 +0000 Received: from BN1AFFO11FD055.protection.gbl (2a01:111:f400:7c10::122) by BY2PR02CA0006.outlook.office365.com (2a01:111:e400:5261::16) with Microsoft SMTP Server (TLS) id 15.1.477.8 via Frontend Transport; Fri, 22 Apr 2016 21:12:52 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BN1AFFO11FD055.mail.protection.outlook.com (10.58.53.70) with Microsoft SMTP Server (TLS) id 15.1.472.8 via Frontend Transport; Fri, 22 Apr 2016 21:12:52 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [172.22.12.162]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id FB.57.03047.E639A175; Fri, 22 Apr 2016 14:11:10 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.279.2; Fri, 22 Apr 2016 14:12:47 -0700 X-AuditID: ac160c69-996e898000000be7-6d-571a936e2d04 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id D2.1E.02566.FC39A175; Fri, 22 Apr 2016 14:12:47 -0700 (PDT) Subject: [PATCH 02/11] IB/srp: Fix a comment To: Doug Ledford References: <571A936F.7040409@sandisk.com> CC: Christoph Hellwig , Sagi Grimberg , Laurence Oberman , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <571A93CF.9050506@sandisk.com> Date: Fri, 22 Apr 2016 14:12:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <571A936F.7040409@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrILMWRmVeSWpSXmKPExsWyRoxnkW7eZKlwg9YJ+hYvz39gtVi5+iiT xbNDvSwW5z+8YrJY9/o9iwOrx/l7G1k8dt9sYPN4v+8qm8fnTXIBLFFcNimpOZllqUX6dglc GZ2HjjMV3GeveHDiJHsD41a2LkZODgkBE4mp57YwdjFycQgJzGWS+P9oDhOEs4NRYum9bUww VWtu7wLrEBJYyijx8ocfiC0soCOx8fJBdhBbREBNYtOrRewQNVoSSyf+ZgUZxCywmlHiy7JX YIPYBIwkvr2fyQJi8wIVPd9xFayBRUBV4su0rcwgtqhAhMTqddeYIWoEJU7OfAJWzymgLfG8 cz5QnANoqKbE+l36IGFmAXmJ7W/nMEPcuYlVov+NKcQN6hInl8xnmsAoPAvJpFkI3bOQdC9g ZF7FKJabmVOcm55aYGiqV5yYl5JZnK2XnJ+7iRESEZk7GO8+8T7EKMDBqMTD+6FBMlyINbGs uDL3EKMEB7OSCO/kCVLhQrwpiZVVqUX58UWlOanFhxilOViUxHnd7n0JExJITyxJzU5NLUgt gskycXBKNTCynvz0edHzpSWrnvetPqitfHHekqRyB9G/OTeW1e65sjKUU0/23VTRc65plbuX arEVSX1fFCbAlMGel9/ULtBRzWvY9eD1L++kaaKfb2W2mgi+ST94JHjXna+bpEv/XAr9YsPP VFGnGPVD2D9Az2WluIhYSm+37rmly+o/d6z5sdNMXmbinHIlluKMREMt5qLiRABKNgODhAIA AA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFJMWRmVeSWpSXmKPExsXCtZEjRff8ZKlwg5bF+hYvz39gtVi5+iiT xbNDvSwW5z+8YrJY9/o9iwOrx/l7G1k8dt9sYPN4v+8qm8fnTXIBLFFcNimpOZllqUX6dglc GZ2HjjMV3GeveHDiJHsD41a2LkZODgkBE4k1t3cB2VwcQgKLGSV27dvECJIQFtCR2Hj5IDuI LSKgJrHp1SIwW0hAS2LpxN+sIA3MAqsZJe71/QJrYBMwkvj2fiYLiM0LVPR8x1WwBhYBVYkv 07Yyg9iiAhESq9ddY4aoEZQ4OfMJWD2ngLbE8875YHFmAXWJP/MuQdnyEtvfzmGewMg3C0nL LCRls5CULWBkXsUolpuZU5ybnllgaKhXnJiXklmcrZecn7uJERyanJE7GJ9OND/EyMTBKdXA WLhZcUe+RrelxNNbDw+Kz1FSVEqqe6j7Y+nRhYrJG46tXBglaC6qvreKPejaLvtza1Yb7EsQ PtW28hxv/tSXYjMel8zdeGHR9JfTth46nbD2Wv2s29fiLsVe0J5945pP0N67Cf07+3W07c28 vA5YFvqVLni8KlQgg4fvJfMpGYXNLD3LrGJPpCixFGckGmoxFxUnAgARhvFo/QEAAA== X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(5008740100001)(64126003)(80316001)(19580395003)(19580405001)(230700001)(36756003)(586003)(1096002)(2270400002)(4001350100001)(5003600100002)(1220700001)(189998001)(2950100001)(4326007)(110136002)(81166005)(65806001)(54356999)(76176999)(86362001)(50466002)(50986999)(2906002)(92566002)(47776003)(65816999)(23676002)(77096005)(87936001)(59896002)(65956001)(229853001)(11100500001)(53416004)(6806005)(106466001)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB024; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD055; 1:5khfiWY0V/Qym5zB0DgRrPEVN+UQ7UBESVoUFRqJHykfKUdgRSmYSc3mNA1EfguUeZfb62tBeQF54Welxkp4e7EOPCOvEsq/GT5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rb+NV06iMCV1dD8nJ0DuH0cc3ktv5KM9IUIscLeJJLAn4gjRGSXqKgkvrGXKbbwXIiAhpRMPpt9lpZNgXQ2Ji74hJ2s1JlBlKDpvJd5C6O/4LAHg1arHPu0KT0xiThQu40CLvZ+jRMhmfsIcIhxA3udjDINTAP6EFAe SygbWC+txUxAh5vswgliacyZC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(9101521026)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(3002001)(10201501046); SRVR:BN1PR02MB024; BCL:0; PCL:0; RULEID:; SRVR:BN1PR02MB024; X-Forefront-PRVS: 0920602B08 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjFQUjAyTUIwMjQ7MjM6Ly9SaENRUm5zSFNMQjJFWmpEZTBXemdqRTNm?= =?utf-8?B?bDRxWmZlci8wSVYwWGd3aTdJWWNHaFl3ZDRPR3kzMEFGZHA0Z0Z4WnE4S0Zo?= =?utf-8?B?QUJqbjhSQ1BHRGU4ZUtoaXF6S1ZwWkgwVkhjN1JpaXRDbUxYZGtKNVdKVzNz?= =?utf-8?B?ZVJXSW1pOTZTL0g1ODNLVS9sVEtMRXVTV0RhL3VadDhUU3lKUHk4by80cjBR?= =?utf-8?B?c3UyL2JOUTMyMy9OZm5GSDFEcDA5TG5lUHd5WXFlaUgvd1VvSENVN01iRE0z?= =?utf-8?B?amFHTkZUYllZcm1SVFRlY0pBWlhTbDJVenNXWEZoNVNUVlo4eUtHY2x1ZG9h?= =?utf-8?B?S0ZWK1lXZFZwK2kwTTUwKy9kcWJxbXFmQkh6YlcwMGo3MU9KdjI5T0JHN0Qy?= =?utf-8?B?SW04UUFLOGJjNHdVQVNoUXFiOERIS3N4VFdMTnM4TjFyQ2N0Z3NyUG83WCtD?= =?utf-8?B?WW4rNDBUMXlQdzA2MU5TbUdydmlYTHhzUm5Vb0s2ZWNoN0paRENy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xSUFkwYUlXeWpkQmN2dXpuK2hLTm9yeTIw?= =?utf-8?B?QTZLYm9mNHZZY3d2NW9JZVNVU0M2SGJDdXB4SGtCSzkwakd5TzRocVRIamsz?= =?utf-8?Q?V23+NgahZmdV25I7+yqbYJu7W4Iq56EgMr5NcH+CtSle2?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB024; 5:cpijLxbJHyOL4eZOiLCwRpYmR2XCf0XqG36wCWB/XCVnlGG6s6wXslkqm/CGa3fthMEB9kuZWZlFnWlBgIoTE5+gK2oqZ/UaMdbBHwqLwlpn0guE4kcU7BTEdlNmGiojVYOIF6NNCX2ggmVYsSrxhQ==; 24:bywlWBe7VWQXHqWlmGcZblSDxcuwCI9bJGdjVjhkS/U8WkfMp+YB//rI1YaGe92bvSExqZLlMehyUb2rSXHmW8dfLh4mZnkMOy7WoXiQZ98=; 20:A/up2JJ/q8PXaEkvwLRJH8X9E0NY9m+7Q0vyG1Cmbt0lg/tFVl8zwGyFAaz62fkwNOaMMqqJ9RrFQwP8P/dzjxeQCLorLWGTtEnt5vh5YN94ZMFr6Tbf0MuXICWyTtvDbfagKD92qHOPTVu/KKEMx1s0DMRGbZW6toaXjPHh6O5R0L0AOnz+K7YUzKJqplqUThUJyTksCmGDM+OIxyY1PX3OKwidEFYrhFicfeoXNGD6VEyqT4elHoSzxkAL2M34 SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2016 21:12:52.3603 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR02MB024 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 The free request list was removed through patch "IB/srp: Use block layer tags". Hence update a comment that refers to that free request list. Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Sagi Grimberg Cc: Laurence Oberman Reviewed-by: Sagi Grimberg Reviewed-by: Christoph Hellwig --- drivers/infiniband/ulp/srp/ib_srp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 9b4f21e..965b070 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1112,7 +1112,7 @@ static struct scsi_cmnd *srp_claim_req(struct srp_rdma_ch *ch, } /** - * srp_free_req() - Unmap data and add request to the free request list. + * srp_free_req() - Unmap data and adjust ch->req_lim. * @ch: SRP RDMA channel. * @req: Request to be freed. * @scmnd: SCSI command associated with @req.