From patchwork Thu Feb 4 22:49:59 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: 8228681 Return-Path: X-Original-To: patchwork-linux-rdma@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 F27049F3CD for ; Thu, 4 Feb 2016 22:51:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 079962039C for ; Thu, 4 Feb 2016 22:51:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C388A20390 for ; Thu, 4 Feb 2016 22:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965682AbcBDWv0 (ORCPT ); Thu, 4 Feb 2016 17:51:26 -0500 Received: from mail-bl2on0076.outbound.protection.outlook.com ([65.55.169.76]:9772 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934189AbcBDWvI (ORCPT ); Thu, 4 Feb 2016 17:51:08 -0500 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=v3epJs25Cnohq34wwO/IULesE7S9tnZppt0Msq783No=; b=H5ZWQjXy/4LeTB5S8P3WRjBuxsvJ609oia2qiOBqBeZvnkZzcdUECKWXmGk30ejAW35vihHBocnWtNWGoFO/Inm4wBzj8K8E7DuC7of5si4g5w2l0U2vJEW8mf3Foqb2caOM6ZkUmBm7hllZVFO40skQRiak6FBgTg0GYhZeNaQ= Received: from BN1PR02CA0032.namprd02.prod.outlook.com (10.141.56.32) by DM2PR02MB302.namprd02.prod.outlook.com (10.141.83.143) with Microsoft SMTP Server (TLS) id 15.1.390.13; Thu, 4 Feb 2016 22:51:06 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::152) by BN1PR02CA0032.outlook.office365.com (2a01:111:e400:2a::32) with Microsoft SMTP Server (TLS) id 15.1.403.16 via Frontend Transport; Thu, 4 Feb 2016 22:51:05 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.174) 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.174 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.174; helo=milsmgep12.sandisk.com; Received: from milsmgep12.sandisk.com (63.163.107.174) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server id 15.1.409.7 via Frontend Transport; Thu, 4 Feb 2016 22:51:05 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com ( [172.22.12.162]) by (Symantec Messaging Gateway) with SMTP id FE.F7.03533.6D5D3B65; Thu, 4 Feb 2016 14:51:02 -0800 (PST) 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.248.2; Thu, 4 Feb 2016 14:49:59 -0800 X-AuditID: ac160a69-f920598000000dcd-85-56b3d5d66326 Received: from [10.60.52.49] ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 99.6E.02402.795D3B65; Thu, 4 Feb 2016 14:49:59 -0800 (PST) Subject: [PATCH v3 09/21] IB/srpt: Simplify srpt_shutdown_session() To: Doug Ledford References: <56B3D453.7030409@sandisk.com> CC: Christoph Hellwig , Sagi Grimberg , "Alex Estrin" , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <56B3D597.10500@sandisk.com> Date: Thu, 4 Feb 2016 14:49:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B3D453.7030409@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsWyRoxnke61q5vDDI7fYrO48PQ7k8XL8x9Y LVauPspk8exQL4vFjbYHbA6sHov3vGTy2H2zgc3j2fTDTB7v911l8/i8SS6ANYrLJiU1J7Ms tUjfLoEr49edacwFLwQqJj89y9LAuJWvi5GTQ0LARKLv/3qWLkYuDiGBTYwSd3etZ4dwtjNK XJ51mxGmav6W2UwQiTmMEq8e9rOBJIQFnCU+Ln7KAmKLCKhJbHq1iB3EFhLQkpi6bibYJGaB VYwSm65eB0uwCRhJfHs/E6yBV0BDouH6FiCbg4NFQEVi4ZE0kLCoQITE4c4udogSQYmTM5+A lXMKaEusvLUIrJxZQFNi/S59kDCzgLzE9rdzmEFWSQjsZZU4PWsVG8QN6hInl8xnmsAoPAvJ qFkI7bOQtC9gZF7FKJabmVOcm55aYGikV5yYl5JZnK2XnJ+7iREcHVyZOxhXTDI/xCjAwajE w5uxenOYEGtiWXFl7iFGCQ5mJRHejgtAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzWLWphQgLp iSWp2ampBalFMFkmDk6pBsY4idI3r8tUPynvsm+6tqvphr4Spzjb3d+blj+vD0/d6DLhX8P0 bX94dh6301e40RtfNWGykbbXHpasp4/3TWXR3PHN19fYvdtK4aa6QNOhqAUs1p9/Tml+Pbug f+vFuxHcN87suf7+25cf6Y6vRB66SnGufv186+6A7H/tV9adObB9zf5ldZbeSizFGYmGWsxF xYkAIy1lcooCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsXCtZEjRXf61c1hBo+PS1pcePqdyeLl+Q+s FitXH2WyeHaol8XiRtsDNgdWj8V7XjJ57L7ZwObxbPphJo/3+66yeXzeJBfAGsVlk5Kak1mW WqRvl8CV8evONOaCFwIVk5+eZWlg3MrXxcjJISFgIjF/y2ymLkYuDiGBWYwSPUe6WEESwgLO Eh8XP2UBsUUE1CQ2vVrEDmILCWhJTF03kx2kgVlgFaPE75Uf2EASbAJGEt/ezwRr4BXQkGi4 vgXI5uBgEVCRWHgkDSQsKhAhcbizix2iRFDi5MwnYOWcAtoSK28tArOZBdQl/sy7xAxhy0ts fzuHeQIj3ywkLbOQlM1CUraAkXkVo1huZk5xbnpmgaGhXnFiXkpmcbZecn7uJkZwiHJG7mB8 OtH8ECMTB6dUA+MG1XstIffrft2tnlU1oXP+srlrQlV3sB2X8Q56fLlllbeY5a2l6fJzXuxV /Kfo7vSH0VtVfbJlkN8PJRn26wf+q/bftdn3TCD3f3jzPdmnOpyiYjImh1YmLPv1MlN5Xerq XRrnNdIEzjTIJfBO6jE9Zu69jD2QRT35qq+wlfsuH7P3txUN5JVYijMSDbWYi4oTAQInUjkB AgAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:2GRRU/2iBBYo83BU37a96+OORZwmr3Zu5RlnFGVfTt7o2PwCa20q64ngV0X/Md1BCCU2xepPm6PSHn8M2OB7PlXPjM9KbMc2diZ2P8QWjSy4WZYcRRHkeRTX7pmdQU5gak4GVFWXT6VbwKcys6VxKLiQftyUZk08hfUqvWXjkvCNiHUE6zFJJRLy0TyzYXKfbbV2n409PdQXwMrtYR/UTOr8IqO0lNg3AS7SupHWchYpsPFRq5Nc8Fw9dqjtDrUDEUBz4Q1WZFe4wj+EKZ4uu+3TTX72chMYwr6BxTaIgMZzkOa5SD0+xS23zC7Y6XQ1KTo6kV5AOkIFRz3WUwg0H0Auin3saIhJNYVZ04aqe8EzHyLXmRp8YZn/Q8mZ1Cr8Ibjgeu67Lv6d1C7a7lVDkQ== X-Forefront-Antispam-Report: CIP:63.163.107.174; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(36756003)(33656002)(11100500001)(2950100001)(5008740100001)(5001960100002)(586003)(92566002)(1096002)(2906002)(23676002)(77096005)(64126003)(110136002)(19580395003)(47776003)(4001350100001)(19580405001)(65806001)(50466002)(65816999)(50986999)(86362001)(575784001)(189998001)(1220700001)(4326007)(83506001)(76176999)(230700001)(54356999)(106466001)(229853001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB302; H:milsmgep12.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB302; 2:mxI4m2us12oVYiJdp9BSjeBODTKiKAxkvGTxfuqwwlrYnyTvYyBwGJkDnIAPznDXuD4U2vmJK5qBMThiaTOOaHARAH15ICn6xzyUtmMcFFLFAp1riCS0qPCtPXTmK3pK0Yxv3TGJxb4U8XnKKro3Xw==; 3:PepooU3v8aPBG9myF3wBRp4UnPXV7AbW8NqNJVQnBFHlLnJtNJ/luwdRqeJIeoQMOA0LG98EFDOEq0YOrEgfI2a3euNrzoHnEdbmUOxYalY16ffEGyUc92vxJKsH9dlhpq6DCC4SVeGvxr4GioNlwSIip7mN080vXUd0ZeG0dDcbWXUjsBr7J7i/jKnsiUckazUkQ0noYinYwDZfGx7JEkxXlj9lukxCcGn5SDtCKCO0PdSrVsiRIn4uL57dBKEgW/l4nJ7CnAKEAhdD7I+aDQ==; 25:Ugk8KGZAx9hEdogJ2Q1d9YZiZowA6CYi/iJf86O2RIm8TnlINCjddSOFNQHgUDyd+E9XHTp9reOHRzEv8FffJ0lrV1LW4jnHVt0TnsOnz/mqT/d9qh1m8AYmUJhUuwTayfhPM3gkRgqCQR6yYhaOE/U3scuzWtKb44L6sDsBD9jj8DcnX0kH1Zjh9kAGIJOvpk8TCnuWUUTVeXB32n5xbK37O6lIsZQt7bVuu8Vq7jmASE/3R+wVf3NvZTkYlVLrv+S08G5hAcf7HOdobBoVeN1XlPDHCH+dbi18ZDa4R2i0/0SwlRkj1XZJB/57EMG+ X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:DM2PR02MB302; X-MS-Office365-Filtering-Correlation-Id: 496541fa-ca99-4c75-fee7-08d32db5aa06 X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB302; 20:bf/shm8R9t/TxGr8RvLNZDScUXRD3KxqZ2DJD51HLtocXFuV83XxoI96q1ewFgv42OX+uCv5bvkgOCtuvXkfHXhc0Dcbj1lITI5NEX6QKlMl2ukLFLYotfdCx7SvxGBuhaSs6yJmdLWaDYuZ5uuCzJ/dr2cYh1LkMRDt47h/u3siCExHsVvBxYF4Ev+rml9bOaQnzeRTG6/srXQIBHgcWVwZ1tFOR8473FHW/aDXAq/jxllh8Z2n9TYVa0TdUWufAL/DO64FKeXG9/G6ivRLqYCVlcyRpeD+jZnVvs7SmnvFNoIO6SQB3eT4JIdhtSLiiYqvt9/7MWNZgi+3H4hZ3RO5h/p9YNuzM+H1uUC+5zOGpganYpQFHSJYJvd56KPRDqqgydS69kScEBWgieAJ5bdjjPatNACA++/pp/QhkFaGniLS55p+sbhglLmAoj50o7sKkkRnDTfxmFLxQOpdXwi4w33l0CfoaRHofo93rGR3+8jBPfoUG1hRR8mFbBSZ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(34787635062028)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(13017025)(13023025)(13018025)(13024025)(5005006)(13015025)(10201501046)(3002001); SRVR:DM2PR02MB302; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB302; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB302; 4:fIe3qJwSz/RlouJm3vhRgrlcD4x+QzOQZv8Z6K1bNFRvg9cvQM1n2mL/OY5BkSciog7TUn06HJeLjrhZ57vPGSvUQ0gcidRDihhEAtMiv1vRzNG9klW6y1dezC3Mtxe9Y5L19Tdx8z/Vo8MsqHNb2+/QH8CMjtJ6uQG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1NuOEI5MzhWNmozM0NLTDR2VFE9PQ==?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB302; 5:yiqkh6IOyXOSl9CRiweUUeMPuHUyBK7rgmKzkLcZQlJ9ppRwqPCpmorzVZTFU3SG2a+D2GVa0hddv9SEKybJLqDj1wdAT+aWPvFOPtafmQKGL+uSQcx0NkIWfHBSEtQZS6GYOaj0IGZQ4V6E+BSZMA==; 24:m7+WNDX0C7BfyY1ock7axxhiwq9Ip5IBIWIqbAJX7rmpXo7awGOead+anCYA31F/QNzq1eh4i/Jzgx999vrKkpIyqYj9irifobpRi6rDPDY=; 20:Fkv4rUS5ZfEjrqvufcNlxScAYA2YfXHGLYNZn7nNrKGNEvsiPfXP/Z/UY2uTzy9C+WR0VazvIWmWzPKhS4cYitHzSmqgswkJPRMU2kv0hoAP2nJtswWEhZKxkY1bZrM5lII0b+k23+1aqr2y+46lLOQZ0TZMbHgGPkcgO7feOnow/YirtB3QNxLOj5ABl832Xb9QyQzxeI1k91gH0rLQaz5/c4AH422T9prrKUuIexZm3yYn+X6zJr6Jt4xy7cfJ SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2016 22:51:05.3819 (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.174]; Helo=[milsmgep12.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB302 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.2 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 target core guarantees that shutdown_session() is only invoked once per session. This means that the ib_srpt target driver doesn't have to track whether or not shutdown_session() has been called. Additionally, ensure that target_sess_cmd_list_set_waiting() is called before target_wait_for_sess_cmds() by moving it into srpt_release_channel_work(). Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Cc: Alex Estrin --- drivers/infiniband/ulp/srpt/ib_srpt.c | 16 ++-------------- drivers/infiniband/ulp/srpt/ib_srpt.h | 1 - 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 89c674c..55118da 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -1892,20 +1892,7 @@ static void srpt_close_ch(struct srpt_rdma_ch *ch) */ static int srpt_shutdown_session(struct se_session *se_sess) { - struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; - unsigned long flags; - - spin_lock_irqsave(&ch->spinlock, flags); - if (ch->in_shutdown) { - spin_unlock_irqrestore(&ch->spinlock, flags); - return true; - } - - ch->in_shutdown = true; - target_sess_cmd_list_set_waiting(se_sess); - spin_unlock_irqrestore(&ch->spinlock, flags); - - return true; + return 1; } /** @@ -2008,6 +1995,7 @@ static void srpt_release_channel_work(struct work_struct *w) se_sess = ch->sess; BUG_ON(!se_sess); + target_sess_cmd_list_set_waiting(se_sess); target_wait_for_sess_cmds(se_sess); transport_deregister_session_configfs(se_sess); diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.h b/drivers/infiniband/ulp/srpt/ib_srpt.h index b0ede97..9c326c7 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.h +++ b/drivers/infiniband/ulp/srpt/ib_srpt.h @@ -286,7 +286,6 @@ struct srpt_rdma_ch { u8 sess_name[36]; struct work_struct release_work; struct completion *release_done; - bool in_shutdown; }; /**