From patchwork Thu Feb 2 00:58:44 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: 9550925 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 36CAA60236 for ; Thu, 2 Feb 2017 00:59:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 221F42844A for ; Thu, 2 Feb 2017 00:59:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 173892845B; Thu, 2 Feb 2017 00:59:31 +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 7C1122844A for ; Thu, 2 Feb 2017 00:59:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbdBBA7a (ORCPT ); Wed, 1 Feb 2017 19:59:30 -0500 Received: from mail-by2nam03on0045.outbound.protection.outlook.com ([104.47.42.45]:46240 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751405AbdBBA7J (ORCPT ); Wed, 1 Feb 2017 19:59:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2FoWBKYrJ/XuYz0kVJIKvyzSl6KirNH0PXxYJY2+cQg=; b=mAUeZTXdIatdYS/UtuUs5m1OiqG7SiyMNJMOTBIiI2dRp2qBM7TJ+SUaiPPyg/G7MEVXmpOA9HDIRffy0HhoBmvLPpE/cY7wGWT3crT7FjPBS65CUnMJP/GTUiswroCRkhBccvWUM7bljpUXIbKSirNYpTeHyQ4ogRG6iOQkqMQ= Received: from BLUPR02CA051.namprd02.prod.outlook.com (10.160.23.169) by SN1PR02MB1293.namprd02.prod.outlook.com (10.162.0.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Thu, 2 Feb 2017 00:59:04 +0000 Received: from BY2FFO11FD022.protection.gbl (2a01:111:f400:7c0c::176) by BLUPR02CA051.outlook.office365.com (2a01:111:e400:8ad::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Thu, 2 Feb 2017 00:59: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 BY2FFO11FD022.mail.protection.outlook.com (10.1.15.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2 via Frontend Transport; Thu, 2 Feb 2017 00:59:03 +0000 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 3C.BC.01420.E0282985; Wed, 1 Feb 2017 16:49:19 -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.319.2; Wed, 1 Feb 2017 16:58:57 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-a5-5892820e4f2f Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 03.73.16817.15482985; Wed, 1 Feb 2017 16:58:57 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: Subject: [PATCH v2 27/36] target: Remove command flag CMD_T_DEV_ACTIVE Date: Wed, 1 Feb 2017 16:58:44 -0800 Message-ID: <20170202005853.23456-28-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170202005853.23456-1-bart.vanassche@sandisk.com> References: <20170202005853.23456-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsXCddJ5kS5/06QIgx3fWS1al75lcmD0+LxJ LoAxissmJTUnsyy1SN8ugSvjyaf7TAXruSu2rGlia2C8x9nFyMkhIWAisaptKXsXIxeHkMBS JonHD98xgSSEBLYzSsy7lglTtP7hRWaIos2MEu/e7wMrYhMwkvj2fiYLiC0iYCDxu/cCI4jN LKAksWfqMqAaDg5hATeJ6R9DQcIsAioSJy+eZQWxeQUcJA7sus4MMV9eYlfbRbA4J1B88XGI kUIC9hLf/hxlAdkrIXCdRWLftHNsEM2CEidnPmGB2CUhcfDFC2aIBnWJk0vmM01gFJqFpGwW krIFjEyrGMVyM3OKc9NTCwxN9IoT81Iyi7P1kvNzNzFCgrNwB+Pr296HGAU4GJV4eAVEJkUI sSaWFVfmHmKU4GBWEuH1bQQK8aYkVlalFuXHF5XmpBYfYpTmYFES52193R8hJJCeWJKanZpa kFoEk2Xi4JRqYLQr02ksXurdu9RoZ/qMz877Hk+wTQz+8tJVb56cy9I55k85LF7qzin/6/cv IuHH7LpWJU3ZDOsTx4/b3gngma70r/jhP+eGVzriqzTOLvFczG1/YFPfGgnOh/v428Lau9uP qfVa1btP3CIhJBQ670BUmJ9TzbHS1jPu4RHFG7IXfQ6Yo9f3VomlOCPRUIu5qDgRADVGZPJK AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkuLIzCtJLcpLzFFi42Lh2siRohvYMinC4OdCeYuDP9sYLVqXvmVy YPKYtuY8k8fnTXIBTFFcNimpOZllqUX6dglcGU8+3WcqWM9dsWVNE1sD4z3OLkZODgkBE4n1 Dy8ydzFycQgJbGSU6Jz/lhUkwSZgJPHt/UwWEFtEwEDid+8FRhCbWUBB4uLUWUA2B4ewgJvE 9I+hIGEWAVWJZSc7WUHCvAIOEtNeaECMl5fY1XYRbCInUHjxcYiJQgL2Et/+HGWZwMi9gJFh FaNYbmZOcW56ZoGhoV5xYl5KZnG2XnJ+7iZGsE85I3cwPp1ofoiRiYNTqoGxrH3Re9EJZj2X jrXUc9x2m7G5hvllSsHVrXx5O0XfSqd/uMbqVhsqopt17+3yHTyWQtKrbpxKuPe4uWsbs1hL mPN9K+0qYeGOtksKET+tBUQr3u6tVz0et+3E8tbuv6e50gpntR4u4s1Y5pAUGTLbYv+zFMfd hxKFNFufZ/fWfY5kVNomyKzEUpyRaKjFXFScCAD8kFy0mQEAAA== 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:(10009020)(6009001)(7916002)(39850400002)(39410400002)(39860400002)(39450400003)(39840400002)(2980300002)(438002)(199003)(189002)(76176999)(305945005)(356003)(50466002)(48376002)(8936002)(6862003)(50986999)(97736004)(110136003)(6200100001)(106466001)(8676002)(81166006)(81156014)(50226002)(1691005)(68736007)(47776003)(2270400002)(450100001)(36756003)(1076002)(7049001)(189998001)(33646002)(77096006)(53936002)(86362001)(2906002)(38730400001)(2950100002)(92566002)(5660300001)(6666003)(626004)(69596002)(5003940100001)(4326007); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1293; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD022; 1:Wa5Od8Y1JveUqhvMMsADnaxtiNhcsG9i0YWDHgYss9CRq5aGUDYTVWE8nDoVBudYs6EzsfFT0oGF8e8ftNXtINjhUrK9ijRpaXMAQNEbgAqexFieFjva07pkLgqtvOeVfK2/SpW3hpkyHtnuGyzrheu0F5iUorAlx/vJHz7WUCmLOglUiEGcFoy0UoCmDCz8zG3kmsGNnxbFTngh8jbKU7WOqUjlTIPI0qciw8BFR0+HmQ2VajEaQhgb1GzSsNuoMwui8B9IvfGTMXvXPGlGfVtdECwmCZjYUNORkvKTQMGzpmaReB40p2aRuZwlS7YPs4BqUnK3wTOy0Eab+XPIvkUMPbkmztwPy3V+IXgnj/J4INagaq74i2JsTQfji2RDoVP7CVF3uLolag5oY356JrjEXrO2rSrFUBj40gmvnSelFoCizWnvaVS/inG4HuCIbOY3zyCc7mlgSTHpGQUcINFYT8VzFZiYSt0gX9Xz6oP6nP6HMBtpWNHPo3EQju7l X-MS-Office365-Filtering-Correlation-Id: f56a2535-daf9-403d-4e1e-08d44b06ae7d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1293; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1293; 3:raPW3NKF/B5vAfW1h1LhyvXw6Nm2JL6uxzwI+yoQ2GhQafAQcRGXrcvhYEiiuF9ZPU766QK10tlSO/9DlnZKjPX4LOuroLelMCGkKXW72DZuV7aW7gDUQ1N3HKCl7CLy7/ZzZwOAxMzDaSKV7vt/MAaVHZzkMHRf0f9zoV1rLnO5PidvGzIFnJ5pBL97AlmKRbNlBLfHk4Z/k0K8+OzmTTWoTj+UfkIOTBI/yQJZv7T+0fot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GOkUAXF+GK7kkl+rWiBuuJd/Vo2fjVWxiOlv3AzFvgKbJgzZJ+QiLtPsVURsd3GvZN9/fHtZ3/VY1t8WtYehCcD+L48JGLhdSpqx62JOHfR3a9ZbQfwMZka9G+PkiluidtOmlJkRmhU/cIT7ZaMpUlCfYl/MVamzLROUxZD1CmLrqQ5vV5ge93sWdoyOwxfAV9hFKfmQz0/yv6MvUPgQlJzYA3Rqgz7HLOdrrKTjv7XO+vMPTPDlwyp3gVoIeFw7ToN9nrc3Qg2f2V7IEmyjkJL27/xf/T5Ha1RkVQccS677nCSkAr6CUEP9o9GTd1+8P+54wrVVtmNZiJxai08CATH65tglSctmVNtktIFr7ZqqfVln7TKUxVvSP8oduy39vFuw/ksSP2lBRIxM9mcuVffYcEaqjpB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123558025)(20161123562025)(20161123564025)(6072148); SRVR:SN1PR02MB1293; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1293; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1293; 4:G/dP61cClt3FggeHYclOIhEpkrwp2wZjyErHVO6PT9b0/w7xwMW3mKS2eo9zXcr8wbW5uWAFJK4pPXyqIykuWN8Mv/Do8qnl0dduWDUyQGyxVhGF/52brppMmS5pWJXlJsfrdZLb1L6H1E1RBsxeUMAknADcshZifb6dnVVT7WF/Sj0O4GnQJlzLHcbsYAbYsi7qdboOc1mYxx79kh7XipWRpk0Q07086W8EYNhw812hqrIHdgdsMC53Dy5uIUy32ib3XfFs7aIjTG2kvGgQFFaT9YRqJPvpOzGDz3aS2A8M1skF+phKunRuBIHxgHIzvmmK7lS2Q86hIvJtUuxJiAMNSSHNz2JwzphHc9wmJDB3RQB073FZZBw/J1wnXsOzRs/kcTjPnmO7dHWkC31SAm9ZuX8Iu+k2WHIP0PB/kAyOtdBvzSEEdGGaWsaZLPJF3aU6htOtlKZaJoQbxz2JM69QreR9GIR2I//vDZnOtZ5CQo4Qwt3tgwW95r95LOvIYWg3lFtuT67OM/PVehvGX4I0GIt/GV+W+nxR4HzWXxtLGN94weKV/X4cibND3gLjIqBJc2v1eHI/d8vudt9ca8MWb2br7ETtZ5LBxwhGQoNGjwjpSd8b5N/qbPxo03lX2XQ5GK/onWYjGNLNkQyoSaJGPDfAQD8c94wlhs1KLxGDgrk50V/kYTtjn0dj0JIvERuUJGGw+XGP/cogeiZEXg== X-Forefront-PRVS: 02065A9E77 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR02MB1293; 23:88rKBKD933EgKmPJHhe7KF1Gdacqb/od55fQgFrIV?= =?us-ascii?Q?BHzpTLpEtBc0rQx9Fsds73lxliWZ2ZoLoZjjl57H5WyxclKsI/M1gKJbVZmC?= =?us-ascii?Q?bJth6V52io/5nf1vxvngc8Zk6w5B0Pxc3PhPnR//RmWz8YP2SwayPfCC41M9?= =?us-ascii?Q?lOn/R14dnOdX083/2STpnpDRkFUEaaFR0VPOk23RAZDMwxjso9kJGkJzjCEM?= =?us-ascii?Q?0mC4PkW19SQ+V/NFXhpBCBFi50hTnsiBFnQTXZpR0b1kumQkKvwHP8+wOr45?= =?us-ascii?Q?0n9jYDtNanZtrTFw7i13l85vnvh5Fz14cepRDMkSy9ekn65BPJOCZ3IULKNG?= =?us-ascii?Q?2ETvJlMhDNAC0tUYkhBJfoxhxfjML5xeKtd2fom7Pr+Gb3LPP6BQnV9OMltA?= =?us-ascii?Q?l+0xSKzPjGEHZr0/gmy6gWmzeiolap/t6bzrQOY9fvBrJB99grIK6hY/jvlf?= =?us-ascii?Q?IagE8SPaxLxvtLjSXW+jNyF5S65uQWzkKAl/izOQATPwDLliaiKRRQnR5SwJ?= =?us-ascii?Q?wlz/YBgNwnkyf5wIidajL2DOO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+M47AP7+qx35ec33vdI9nHaNuOrfBjI9DFi/1f3XhQO3jiVCOFnK5ErONvwVc6zufsy7mw796ztMhDfMQ8PmKKs3X/NGa48dUvQWz1XPssZ1btxY/7EqcEOEPzTap19UPGrnYZNK X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 00:59:03.5261 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1293 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 The code that tests the CMD_T_DEV_ACTIVE flag has been removed. Hence also remove the flag itself. Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig Reviewed-by: Andy Grover Reviewed-by: Sagi Grimberg Reviewed-by: Hannes Reinecke --- drivers/target/target_core_transport.c | 1 - include/target/target_core_base.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 18cc0730f33c..fe8132df7f01 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1236,7 +1236,6 @@ void transport_init_se_cmd( init_completion(&cmd->finished); spin_lock_init(&cmd->t_state_lock); kref_init(&cmd->cmd_kref); - cmd->transport_state = CMD_T_DEV_ACTIVE; cmd->se_tfo = tfo; cmd->se_sess = se_sess; diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index de993c03a625..baa76c65715e 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -487,7 +487,6 @@ struct se_cmd { #define CMD_T_COMPLETE (1 << 2) #define CMD_T_SENT (1 << 4) #define CMD_T_STOP (1 << 5) -#define CMD_T_DEV_ACTIVE (1 << 7) #define CMD_T_TAS (1 << 10) #define CMD_T_FABRIC_STOP (1 << 11) spinlock_t t_state_lock;