From patchwork Fri Jan 29 23:14:22 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: 8168591 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 B87BA9F96D for ; Fri, 29 Jan 2016 23:15:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1E5520256 for ; Fri, 29 Jan 2016 23:15:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C516420253 for ; Fri, 29 Jan 2016 23:15:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753560AbcA2XPe (ORCPT ); Fri, 29 Jan 2016 18:15:34 -0500 Received: from mail-bl2on0079.outbound.protection.outlook.com ([65.55.169.79]:9952 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753391AbcA2XPc (ORCPT ); Fri, 29 Jan 2016 18:15:32 -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=7151bYYYy7H/gLIxy4OoLev5q22H8zuCTiZ6irkXu2A=; b=FC570ROx95vwU8yqukUdZgSLtBImMFge9SA+nqRAXtC8fCuDSkIh844h/laO5JKJNju0oPuDpwjJIra8K/WQ2VjQgahG531l4g7IOe8RGMKcpU8mbY/3HvxMf1JjAC+TXTcMWTcHbWRznRVEYNYG0RapT1phemTKwsvXHrO6uGc= Received: from BLUPR02CA029.namprd02.prod.outlook.com (10.160.23.147) by BN1PR0201MB0819.namprd02.prod.outlook.com (10.160.170.151) with Microsoft SMTP Server (TLS) id 15.1.390.13; Fri, 29 Jan 2016 23:15:28 +0000 Received: from BL2FFO11FD038.protection.gbl (2a01:111:f400:7c09::146) by BLUPR02CA029.outlook.office365.com (2a01:111:e400:8ad::19) with Microsoft SMTP Server (TLS) id 15.1.396.15 via Frontend Transport; Fri, 29 Jan 2016 23:15:27 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.174) 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.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 BL2FFO11FD038.mail.protection.outlook.com (10.173.161.134) with Microsoft SMTP Server id 15.1.355.15 via Frontend Transport; Fri, 29 Jan 2016 23:15:26 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com ( [172.22.12.162]) by (Symantec Messaging Gateway) with SMTP id 00.B8.25823.D82FBA65; Fri, 29 Jan 2016 15:15:25 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.248.2; Fri, 29 Jan 2016 15:14:22 -0800 X-AuditID: ac160a69-a17cc980000064df-a0-56abf28dba94 Received: from [10.60.52.49] ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 5D.57.02700.E42FBA65; Fri, 29 Jan 2016 15:14:22 -0800 (PST) Subject: [PATCH v2 09/22] IB/srpt: Simplify srpt_shutdown_session() To: Doug Ledford References: <56ABF16E.7070006@sandisk.com> CC: Christoph Hellwig , Sagi Grimberg , "Alex Estrin" , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <56ABF24E.6070908@sandisk.com> Date: Fri, 29 Jan 2016 15:14:22 -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: <56ABF16E.7070006@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKLMWRmVeSWpSXmKPExsWyRoxnkW7vp9VhButuiVhcePqdyeLl+Q+s FitXH2WyeHaol8XiRtsDNgdWj8V7XjJ57L7ZwObxbPphJo/3+66yeXzeJBfAGsVlk5Kak1mW WqRvl8CVcfHqa9aC/QIVD47OYWtgnMjXxcjJISFgItHfNY25i5GLQ0hgE6PEqQXbWSCcHYwS +w/9Y4Gpuj55BSuILSQwh1Fiwjt/EFtYwFniZtdiJhBbREBNYtOrRewQNVoS5y58YQcZxCyw ilFi09XrYAk2ASOJb+9nAg3l4OAFKlr5Ox0kzCKgKtE8eSLYfFGBCInDnV1g5bwCghInZz4B u4FTQFtiyewLYK3MApoS63fpg4SZBeQltr+dwwxx5kFWibPrTCBOUJc4uWQ+0wRG4VlIJs1C 6J6FpHsBI/MqRrHczJzi3PTUAkMjveLEvJTM4my95PzcTYzgyODK3MG4YpL5IUYBDkYlHt4F K1aHCbEmlhVX5h5ilOBgVhLhrXsBFOJNSaysSi3Kjy8qzUktPsQozcGiJM5r3aIWJiSQnliS mp2aWpBaBJNl4uCUamCMtIqKPRa/dbHu9APxhrNnHHR8Uv9lhXfwhd2LhE4JSE/b2p0uE/pk 2qPfrbe75WewW0h7v6jZv8mCIcV27t/JPTnRwoYnnExaBZqOWu+OMtrBxvpg/+ZPAgsMCsve /7gasvEu594py7f57OM27L0WVM06u/231+89B38u/DWnf8fHhRcfLlKcocRSnJFoqMVcVJwI AOerjXiIAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsXCtZEjRdfv0+owg3stChYXnn5nsnh5/gOr xcrVR5ksnh3qZbG40faAzYHVY/Gel0weu282sHk8m36YyeP9vqtsHp83yQWwRnHZpKTmZJal FunbJXBlXLz6mrVgv0DFg6Nz2BoYJ/J1MXJySAiYSFyfvIK1i5GLQ0hgFqPEhrnb2UASwgLO Eje7FjOB2CICahKbXi1iB7GFBLQkzl34wg7SwCywilHi98oPYA1sAkYS397PZOli5ODgBSpa +TsdJMwioCrRPHkiK4gtKhAhcbizC2wOr4CgxMmZT1hAbE4BbYklsy+A2cwC6hJ/5l1ihrDl Jba/ncM8gZFvFpKWWUjKZiEpW8DIvIpRLDczpzg3PbPA0FCvODEvJbM4Wy85P3cTIzhEOSN3 MD6daH6IkYmDU6qB8fHigsDsn1cPhF7dwHrtWFhUxlvf1mO6HAv3RaUzL1/r/oG1/cJXl67s 7o8SJiz5GZ3ajBG3k7t2671hap3of96Bdaf1aY+7V1+ILrgt/CxmXeX5uihl91lsV7/XtRzh PnDERqiraPuL3U78ug2no5JCzdMOCavryUy8ZzpdS0Rp1c5tC8/UK7EUZyQaajEXFScCAAiv S/sBAgAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD038; 1:r8hMlWSqzXqz8yNdd56LR/TY5Zn2Kwjnj6IAPSxoEOPp7wtFlbS9nQ0ySnlKvHAX9DLCTS/1mirSgy4PfggNbMZvKn4hZFm4zU1/WWOcHKED1xrTxUAJe5h0V/3dEJVFQv/UKSIWyhUEJwcjY/0EST5RlxeAJcXxRU77vniyHVD8Dnzpt6Z2AJ6fO31tVD/cacf9lVeoqjutqLt2BIAdlxbT/r3VFmMUwpeIjgsAzNgGqkro2NczZp0RnZwNfwjzbIliyR/lywzzB4dyhcURgFW2gcZ5QrC3czD68BaRb6Kb7dI9ZZZ24r60o3og90HWVH/crxwDfVUetik833k9tAKX5WQ+d9Nk7J+urZ1pHTo9+JmJOP2nLT34wQP2G6LISNowoCGuOhw40bg9hrzLhJjUzt56MfRRVqlazjDFq0ExWTAOUc5Vh1bEGJRmWAem X-Forefront-Antispam-Report: CIP:63.163.107.174; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(54356999)(230700001)(5001960100002)(87266999)(106466001)(2950100001)(110136002)(1096002)(229853001)(47776003)(65816999)(11100500001)(50986999)(586003)(65956001)(4001350100001)(76176999)(77096005)(1220700001)(65806001)(189998001)(5008740100001)(19580405001)(2906002)(83506001)(4326007)(86362001)(50466002)(80316001)(19580395003)(36756003)(23676002)(64126003)(92566002)(33656002)(575784001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0201MB0819; H:milsmgep12.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0819; 2:PNxnAW51iNWIkJfR5cBQ6x7O8vyd5E8dkiKqBxizAW1wSKbbu/jdWABdK2RjbLN5y6P3qJ6l5Pwf596rYsWvhrmuqzRR5RHagmaZf/BXV0tclK1tTno0mcbm0IZ39iMNcqpgnVlD9jt5BQOnvmZDfQ==; 3:gdCeMoxP75cCBsXDysSj7GbHCNkn9morR5auMFZWX2kL+yszGNM5VBAnyS97QTcpW/6MUG5H8iqli4tacfSn+YE6c9W1/3ONnTTFLmqPYSUpkQCSNA7hLfg3FIsz94f24ga6+3O/XBIe8ll6K+5ZDADNDZ4QWiEDt4Pni2Mcv2TNHmYxml362geQTRpL4jygDX+MoDNCzKW0qSnvEaHLixjtEhTK9IDxnoefSE2FZ2qS2TdabV+fqBfdodksRA8xZzFAmyy/2yCTcnEWO/MCPQ==; 25:2E9o5XToM8uqdoYiR3O1RkneI+iCeqDw7e+zaN/2o/qyhjhhydvhxhGtdE2wVW5YE0upScWoqtGn3pb/UwXC7wtCqZBBpqHvSW5o/Nhrko5Ns+oph6BXC/fkooxWj4VWDbRxBj24N6ChCPyCgbC9Bf980NRE2bkgadZ/jAfsEFs/wt7eVj7AEy0VZ3H/rC4S9wuTk88esOpORq/H8POxFef/INek/5MdTGuknuv6fLf+lj7UIn5qsjj2/zhQ4k8E X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:BN1PR0201MB0819; X-MS-Office365-Filtering-Correlation-Id: 85aa26bc-5a5c-4419-453c-08d3290212fb X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0819; 20:AuOo2AqFxonl7CwxwXdy6tBHKmjjIWcXMCCRU5Rjx/icNO0FCZ04UO7xDBkAZL9nof3xZkGjY7CbFUFUzNIBpog6WzE3jJz1tKhFqjQ7ghVxGnv+AMgaxi3XhZt2kzGvJPVt/AFIdDx0YTOho+um0+ROXrRflCW/YrGkWx9uwTk9Hz/EDI4RA8vSeL5SBNAEaQ7n1HjGLE834VwcNrJKls6CGSHS9fGVdPEqoMv9qkC5AIrWb4TCJb9ePtOi/0kh22eNgK8W9cuwvySFkQQrSScgFJ7ziuSfRTfg7RJaDI4OkAiN+Si6sSudJPucmovWR701NzuLEt+KvfEQ4duEtOxaEIauuGMkk5oRiu0ckGVxNmUCDnBmXQK2XSgEFD2ikAPvnogrij0SG4cEC6l51EBZAB9ArrEJwEMuvI5Qw81Lua0FJW1Ilms4znkINnbCtle6e+77n65ZkR0aWI8CUW0WMZVXzZYf9dt5G7ibZawmUEQkD+11y1jQdBA1r4jf 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)(13024025)(13017025)(13018025)(8121501046)(13015025)(13023025)(5005006)(3002001)(10201501046); SRVR:BN1PR0201MB0819; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0201MB0819; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0819; 4:D6yqhZvjVs1qsu85uLs+qFi0j8ye3JizYyOoHasf+ijb1TdDusuyFSTQGWjfXAoxQdUPvQa4xLJWguLEgtesMgHvWqbPC5HJCHGZjQKqSLvx8mFqHfyKv446Y5OxFfiUPmp9nkMI5qSCyP6n14doERrFyfHIAmMcOyt8Tkfa47b+Tah2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u?= =?utf-8?B?T1RGUEZNQldPVTgvTktkQUhjQTd2NXJIWGJ5SUQ1Nkl0RUFWYVpwSENqRFFi?= =?utf-8?B?N2FESFBBPT0=?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0819; 5:JKQqcCeky+mYrwcmy3+Isf+lXFhBr4fsF0SZloKHge+OdRB8iWN4DE2VwRu0PK4651yOimBK8Gr2bdBesS1lTBOsJGGrG2Aff1ZXcHPAHH0Dlkz18b/UjIqwivNU5rqR6VVxP8ykMI/yRdSbYaut2A==; 24:FrQs3g66oqMRdFphHklUNlzo0Q7MjYcx4Z/U08ekAYLGKrOIOiL9GXNjJHOkZxlalGcU+93sIf7HPAj2uUIoyJw7S2pxI1bt3RrV0Udbvt4=; 20:QzmTXv/8IV94A5aR4gFvL10I7/lSHDk+hnaVq59wYGeoZElK2raZzcVkP/V9MWsGJ022scgGaLusAKY9ZWOfjfgBhGAcsLGqBatlTfqlXbalJB4YQBLMLZ7YPrG8+nrw0NvNNfZ8a9uxfoiPyXThy5OzWVAL5XWmjswf2bs1rGYEKGEmYU2MeHbPA9pZazk6bm17zHZQJNXc6jj2f5WF8KC3tUQMPzLAHsgMDqRrbcKCTw5r60do6irzrBafnlZc SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2016 23:15:26.8730 (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: BN1PR0201MB0819 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.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 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 --- 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 72f58a7..b46e8d7 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; }; /**