From patchwork Wed Jan 25 23:36:37 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: 9538151 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 497276042C for ; Wed, 25 Jan 2017 23:37:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F6A127F17 for ; Wed, 25 Jan 2017 23:37:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 349BB27FBC; Wed, 25 Jan 2017 23:37:29 +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 5BADB27F17 for ; Wed, 25 Jan 2017 23:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099AbdAYXh0 (ORCPT ); Wed, 25 Jan 2017 18:37:26 -0500 Received: from mail-bn3nam01on0057.outbound.protection.outlook.com ([104.47.33.57]:1504 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751427AbdAYXhO (ORCPT ); Wed, 25 Jan 2017 18:37:14 -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=ohfhhTH+MCihMUNAuHqqtfl/H7GItzA2zPZ47gYBmrw=; b=XMAan65b25io79f4AXn8ln2fvYPKjmSD+YITIGCimaNvM6jcDpm9jx4Si2R0dnfRbJY1NsKurH+EEtN9F1E2nRMI5Pi9TGfQCkIDFMoREEt6kTrhJ4Agx+UrLej9eUxrd2UfjeoQe1u5zMiA3OW+p7nxS1V59rAl49Oso42V2hY= Received: from CY1PR0201CA0032.namprd02.prod.outlook.com (10.163.30.170) by DM2PR02MB1420.namprd02.prod.outlook.com (10.161.143.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Wed, 25 Jan 2017 23:36:57 +0000 Received: from BN1AFFO11FD016.protection.gbl (2a01:111:f400:7c10::188) by CY1PR0201CA0032.outlook.office365.com (2a01:111:e400:58b9::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Wed, 25 Jan 2017 23:36:56 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) 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.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 BN1AFFO11FD016.mail.protection.outlook.com (10.58.52.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Wed, 25 Jan 2017 23:36:56 +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 9C.C8.65426.6C339885; Wed, 25 Jan 2017 15:24:55 -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.319.2; Wed, 25 Jan 2017 15:36:50 -0800 X-AuditID: 0ac94369-b62949800001ff92-34-588933c6cefd Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id EE.35.16817.29639885; Wed, 25 Jan 2017 15:36:50 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: Subject: [PATCH 25/34] target: Remove command flag CMD_T_DEV_ACTIVE Date: Wed, 25 Jan 2017 15:36:37 -0800 Message-ID: <20170125233646.2243-26-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125233646.2243-1-bart.vanassche@sandisk.com> References: <20170125233646.2243-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsXCddJ5ke5x484Ig/tf2Sxal75lcmD0+LxJ LoAxissmJTUnsyy1SN8ugSujtfUrc0Ejd8W/b59ZGhi3cnYxcnJICJhIbJ52jbGLkYtDSGAp k8TFNxeYQBJCAjsYJQ6ujYYperftMitE0UZGid8XOthBEmwCRhLf3s9kAbFFBAwkfvdeYASx mQWUJPZMXQY2SFjAWeJt/xKwOIuAqsTzz5/B4rwC9hJTHv1hh1ggL7Gr7SIriM0JFG89+5MF 4gg7ifUHWpkgai6zSCz/EwPRKyhxcuYTFohdEhIHX7xghqhXlzi5ZD7TBEahWUjKZiEpW8DI tIpRLDczpzg3PbXA0FSvODEvJbM4Wy85P3cTIyQ4M3cw3n3ifYhRgINRiYdXYEtHhBBrYllx Ze4hRgkOZiUR3nVynRFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEed3ufQkTEkhPLEnNTk0tSC2C yTJxcEo1MB5v3cGlryLEOs/5Wr5b1TfOnrlBbKs2ftj2/uD2k3zhT0S96rhb5+6znhMd+sl5 /71pvA7WJ17ad1if8Q858fLQXb2u1FUzJeTPTE11jPuhaLyBVeTrz7UHdjdK3/yT+o/15ov1 zTE6PllpT/8+mrX+6IeG1nbm27l2ltKR/0S5H/o7LWTN81JiKc5INNRiLipOBABWzGgFSgIA AA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkuLIzCtJLcpLzFFi42Lh2sjJpjvJrDPC4MMVJouDP9sYLVqXvmVy YPKYtuY8k8fnTXIBTFFcNimpOZllqUX6dglcGa2tX5kLGrkr/n37zNLAuJWzi5GTQ0LAROLd tsusXYxcHEIC6xkl7j7+zwiSYBMwkvj2fiYLiC0iYCDxu/cCWJxZQEHi4tRZYLawgLPE2/4l YDaLgKrE88+fmUBsXgF7icXdP9khFshL7Gq7yApicwLFW8/+BJspJGAnsf5AK9MERu4FjAyr GMVyM3OKc9MzCwwN9YoT81Iyi7P1kvNzNzFC/Bq5g/HpRPNDjEwcnFINjPIT73gfjvIRnTn9 r0D+rI0h2yXM3fnkGGUEBHV+MCbOaNjvU3ufkUvQeMqdfUW+zU7fP81ZMCddpvCzSN6xn5MO ypnPfnaobVqK8Cm3C6JNBVv5LGewJrgFSe4TUIzxS0wplEl/e0Op+OmM93dcimOT3B+e2r5h c1BpXpXB7HMhnL5vXUV0lFiKMxINtZiLihMB91FtMZsBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39410400002)(39840400002)(39850400002)(39450400003)(2980300002)(438002)(199003)(189002)(2950100002)(450100001)(2270400002)(47776003)(77096006)(68736007)(5660300001)(53936002)(6862003)(38730400001)(76176999)(6666003)(50986999)(6200100001)(36756003)(1691005)(110136003)(8676002)(81166006)(356003)(48376002)(50466002)(7049001)(5003940100001)(626004)(8936002)(33646002)(305945005)(1076002)(81156014)(2906002)(50226002)(106466001)(97736004)(92566002)(69596002)(189998001)(86362001)(4326007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1420; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD016; 1:YMxtk5SvfWbButHSamFQ+at8FtKVUL8FHjsJtLvrhb4LNF/UmQ34N9HRKDTTy/7jiaMG1TUw+5ORy0n19+c7Sj1rNcOluXHWt4rVAFQccfuCoP4rXfG/53V7tdKFXKn6jOTdpcQb08skIOHYtVeCTksrxd6CF89CnxiIZZjXRF3blfJN9p9iD3DGUdQ/xP6757cIjeUXFIOOrH12o9Lj6W1aLiPfLaObC0QpTRpYxTRHKYbof0ieHu7mudCE5I2+M1eUYdM3/PvCWc0h2tq2TBYp8kgcvQVYbtbDm49oIGpbRssMYFpdCvbfN8fgeVOJpj4uEnUJFL30qScXBId6Fue7ie/OJDgcIFiVeJkk0hJ1VGeMkIfR31q5TVHZziwb3FS4P1wNRUNI6cpacjWzTCj9MOfsbhOAZITJtLyJWBCH5hzVdX17xKRbNkaF/Lji7nhO4Nan6E7uNDQsldtaFprAUQr1KLJOC3Fsc2KCVKuyZ//1aLISeyt910zS1dZ+ X-MS-Office365-Filtering-Correlation-Id: 4b705fe9-e6aa-401f-21a6-08d4457b0cb1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR02MB1420; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1420; 3:tJ2LWUmntFzrR5JAPuklhW2tebhyw3+K2KYhJFmqaXoBy6sDBDhrBIy4bm40//57C4ZH70W/C/y/Q7qdYy+xmFmvudIN86vPLa473yCZRql75NvaIKW9JXr9KdSK8+jQ4CpSkQkVec0MPIWq7x23AdTM0M/Gqi91GNRZEe5pviXVOmrQwdb0wmgcEP7/K32kt2Ljib5+DcthmxikE80dfpB3Qa6Qh2lEKKSBti7YDt2BlAp6u6J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6eEi1WS7TZZCPle6NfN/trAiHG5g1HOyGYYqptDGV4EKUE9VMoSIev4AKOasJ/eQn8ZS6AtsausMTAB/Gc7ExpXx3BpcEg/WwlSWd4Iq0n+pmLmqBw2unnGRKbdH6xPkhco1i+bpAZw27kniw93C3XezyOrA3wcs/iUrK+2sUAHZvIszr/CMwxr6zf+Gyf+svIhepCpsW5FCKmbrAzmB+1AACdWnl7xtnObsoQoPckmiiIk91J8fmUYHaW6OTzbAz/cZIU0dWue4qwheisMJDL/QUnT6xuzmkoFmOrNlA8xcl97cKaXeE/zkWc8hltt2kj0nhiHb26c65Bd3UyUYJb3faQHNZ/JUq4y9BiIKp7lhZYE1NHyxG/PgH5aknC/lv8yhiD08p 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)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123558021)(20161123562025)(6072148); SRVR:DM2PR02MB1420; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1420; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1420; 4:8pNVIEUy6yPi6G7UCIQA95dUiSRQhV/nykZNxDz2wXtJ3OHkPS+kwSK9aBl5nUjcV7g0KqClByXpGe9dM3QU1fgwMLhqJPJUyFPRoKV4j6pvXU+dzeJRB2cAUadHPlXzp3YHbFNkvo7jBv/FYHNuw2nR3jJ6CblQIlhza9WsDo8E6GIZ/r5gX/y5W1uQjSmESRr0Kkn1wbLKxhqHvLjJ8lP07lhaXUyp9DlVcetkcL+JjNZTpsz7BlZOAnRHI5jTPg3NVe5qptXr0nIUIbH+vXyn1RMqLKUwf7zHhI1TkZrkQgHX9VGx/pw4ojEwoM5J5ghhHg362kASAUd3xDicQ3dkw1zcsLWzn98KFnXN8pN9ZqAXJso187Jj5qpNsoYBmKEkMxUKde0bo++zdE2kgl6pLq8jQ/xfbU2FworMPS1kaWnk4qMP2RFUs74kBwYwQoFWeWLorak6E2o9hD6Es7AOVpPmNmG1qlleB8kNK6t2b95jRjXbVgXkD2Is+ev4mpuhedDbS89b57MdBaO3XxW/HvC6/SMyOkxU5GCVjmS+o/HSghR+hi/y+50uCEQ1qoCeFysm1Gp4Ei4WvQmNCj3vT/YoyixsDicxLIiv7enbCv0XwEZghfI1X0RvJ8NFqm3v1WuVDOXNkdqHmubhFDS/fcy/jG/Mh4uGiFWRvWzunIZamVM5eFKOCwUbc+7xZDF3rNHhRuH96UdlBgE+Vw== X-Forefront-PRVS: 01986AE76B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1420; 23:Rwc7pdsvHZn3GrE+atqSIh+ERbA1WNfJkR50CjlUD?= =?us-ascii?Q?YBjddf//J2XONh01iB3FNeU2Fd52/oyQGuDJBT5REdGAz8luOcR5UzNWi7HZ?= =?us-ascii?Q?ph9/9yvTrQyxDabzC5uQ/REDZ++LiFr9z69BAU6ZDrNJ29kTmAwQmcg+7fWN?= =?us-ascii?Q?E3yrbeSkSeNpe8usFn/qKOKhLTWAGCOlb55CC6UcDpYSBMac9P/Zx+vlPMiN?= =?us-ascii?Q?Kxw6ssO37kOO2ifs8jsfq1LTZvoERhvMQoJSijh8+Egp/UWiP616y9wRIKSJ?= =?us-ascii?Q?7kK87BOG9g1jgnXISGDAoOHLJJBTnF9bSzxdBKOicx5lgIpefTk1g6PtT+UR?= =?us-ascii?Q?vtUaL4ugH334Ezxq7+yJC6jIea6AC/Y/2RtU5yOBZv9fYGmzXw3YePC/K3uh?= =?us-ascii?Q?e71MHnj2ekijDkiEO8/izwL086E5DJp/Lw79cJIGjrAQR1rwM/NHnDjAUl3N?= =?us-ascii?Q?7B/SrmlLW4cyzZbEwQ3PiaytOvjdlN6E8BwBlWczaGytGilm6A8pEdmlousP?= =?us-ascii?Q?vtRCOgxt6WXiQDLI79c1aCiobSU7sdSUhm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MLTnyAomH9t6AukacEfC/qHBT48jKX/Lkw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2017 23:36:56.0127 (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: DM2PR02MB1420 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 1ebdeea7f72d..43c69d2a0836 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1222,7 +1222,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 e46848432401..958604469a4f 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -486,7 +486,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;