From patchwork Thu Feb 2 00:58:45 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: 9550943 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 BCEF160236 for ; Thu, 2 Feb 2017 00:59:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7AA128456 for ; Thu, 2 Feb 2017 00:59:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C9ED2845F; Thu, 2 Feb 2017 00:59:41 +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 25D7828456 for ; Thu, 2 Feb 2017 00:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751342AbdBBA7k (ORCPT ); Wed, 1 Feb 2017 19:59:40 -0500 Received: from mail-bl2nam02on0067.outbound.protection.outlook.com ([104.47.38.67]:22681 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751365AbdBBA7e (ORCPT ); Wed, 1 Feb 2017 19:59:34 -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=f6hRXF3JtYlAQd+SastNWA/dxnG0OMPhvm6r2C2birg=; b=H0oN9QL+POE1vD8BravdKqdHJdQinnk9I61Sz+dbKXWDYbaw/vNwBue/m6/QMCEg71vyOlzdaZilsrlei974KcR2Oc4Ng1Or6uKSkqXdTPqSg+BQgC/MOMtNp0KGMhrva0gmbMxKPr2l0aoJ0ADyw/mLvxCGUT4z/AqFZSzIAPM= Received: from BN1PR02CA0018.namprd02.prod.outlook.com (10.141.56.18) by SN1PR02MB1423.namprd02.prod.outlook.com (10.162.0.27) 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 BL2FFO11FD045.protection.gbl (2a01:111:f400:7c09::159) by BN1PR02CA0018.outlook.office365.com (2a01:111:e400:2a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 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; linux-iscsi.org; dkim=none (message not signed) header.d=none;linux-iscsi.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 BL2FFO11FD045.mail.protection.outlook.com (10.173.161.207) 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:04 +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 BC.BC.01420.F0282985; Wed, 1 Feb 2017 16:49:19 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) 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-a7-5892820fe157 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 63.73.16817.15482985; Wed, 1 Feb 2017 16:58:57 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: , "Nicholas A . Bellinger" , Christoph Hellwig , David Disseldorp Subject: [PATCH v2 28/36] target: Remove command flag CMD_T_TAS Date: Wed, 1 Feb 2017 16:58:45 -0800 Message-ID: <20170202005853.23456-29-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+NgFrrKLMWRmVeSWpSXmKPExsXCddJ5kS5/06QIg+0rhS2+/p/OYrFy9VEm i7bVZxgtWpe+ZXJg8bi//QiTx+6bDWwem09Xe3zeJBfAEsVlk5Kak1mWWqRvl8CVcfTQJuaC s9wVa76eYGxgfM3ZxcjJISFgItE++wl7FyMXh5DAUiaJs2d6mEASQgJbGSU61gTDFK0638QI UbSZUeJfw3o2kASbgJHEt/czWUBsEQEDid+9F8CKmAVmMEq82foMLCEsYC9x8M0T5i5GDg4W ARWJaZ8KQcK8Ag4SvxYsYoNYIC+xq+0iK4jNCRRffBxiphBQ67c/R1lAZkoItLFKTGlsZoFo FpQ4OfMJmM0sICFx8MULZogGdYmTS+YzTWAUmoWkbBaSsgWMTKsYxXIzc4pz01MLDE30ihPz UjKLs/WS83M3MUICu3AH4+vb3ocYBTgYlXh4BUQmRQixJpYVV+YeYpTgYFYS4fVtBArxpiRW VqUW5ccXleakFh9ilOZgURLnbX3dHyEkkJ5YkpqdmlqQWgSTZeLglGpgtN7s8Dxj962kD9Kn pepf6Ko331630O7Qk4yzduGneN8ZJ++R4a9SNF/EPSs1uFfFfmLCmvA6Hs7/ARMEJywue7BK nP15gLNR6gtuw9Yfb8Q/9x2odpDb9f71Jr07Pjc+2C9OnHZYvZp11d+tOf9brlg+quC87dkb 9VRN58rH6muqIf9zZrIfVWIpzkg01GIuKk4EAObrJXNoAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGJMWRmVeSWpSXmKPExsXCtZEjRTewZVKEwdR9ChYHf7YxWnz9P53F YuXqo0wWbavPMFq0Ln3L5MDqcX/7ESaP3Tcb2DymrTnP5LH5dLXH501yAaxRXDYpqTmZZalF +nYJXBlHD21iLjjLXbHm6wnGBsbXnF2MnBwSAiYSq843MXYxcnEICWxklDi1fDYjSIJNwEji 2/uZLCC2iICBxO/eC2BFzAIzGCVmvljABJIQFrCXOPjmCTOIzSKgKvFj3wSwOK+Ag8Sp27/Y IDbIS+xqu8gKYnMCxRcfhxgqBNT77c9RlgmM3AsYGVYxiuVm5hTnpmcWGBrqFSfmpWQWZ+sl 5+duYgSHBGfkDsanE80PMTJxcEo1MMZOc1uixVWrKLz88aaQ358kCzY8fM2+13z7qmmBrstM 6xy16nYwHvqz+ufEK7Jyf5suayWtU56/aunbnr+fdMzMn+kJnc2dfvPqz3eqclwpUw+1q+uI Juwpf7Qxy1bv++4LzOnuLQXfNwaxLXJfIzEjJMGn8BFHy9ua5L7MDPbO0rIXf/QPL1FiKc5I NNRiLipOBACDA4KBuQEAAA== 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)(39860400002)(39840400002)(39450400003)(39850400002)(39410400002)(2980300002)(438002)(199003)(189002)(6862003)(50986999)(305945005)(110136003)(76176999)(2270400002)(2950100002)(4326007)(356003)(53936002)(6666003)(5660300001)(68736007)(69596002)(1691005)(626004)(54906002)(36756003)(106466001)(5003940100001)(38730400001)(50466002)(86362001)(33646002)(8936002)(48376002)(92566002)(77096006)(8676002)(1076002)(189998001)(7049001)(81166006)(81156014)(2906002)(50226002)(97736004)(47776003)(6200100001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1423; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD045; 1:EbCBGYNVQRDeJ47+VzFkgWVESaboikdmroJHjoJ7tOSG24hhAcEBGejK0uv+9x0NCofC+ZsnoO8TXMh9P+gipVefjNqX/DUGpnIwoWJA5MeFP4s1Dbup2KzODwtaZQyaTt/3VavmtFGsBQAKjEijhaUMatNNid5PNWKQ7Ih+edc2fLJd2j8WmB+oYKmgWDOOahc/Lut3W2BJbJd2r0kLIQHgZoRhphOjBSjbMGzqOBTTZsO+OVlgoM28EBoevuEfHqoHO6zXuBORA4H8BKM92k4NM6FByAnw0iMkCBB2YO1UdzjaxG4ulN3qnaWILIyQKXCoQZkNPDdw0dUWLDMsPVu+YS+d01cvq0fOUsmqHdqetTQXv+8ez42FqYceK+zHKT4ajcWKHMkHtwckGTEMMEYnVcQtamog+K9lc2lHKZkLsQdYLDwdS98Z5P5FfMm+jDre6WVHTQgJyxXjGA+mjJh/iVcg4uIplzosSblJTeDU7RhZX5eJ+xOV6+HQo2Jb X-MS-Office365-Filtering-Correlation-Id: e1831f2a-1e4b-4c23-3e06-08d44b06af12 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 3:d/zgXASfk9HUFCc0uclGaGU5iea+9gM8miX/LMJ5XBsMmvjbYTneRMP6iudJnfiEVFF3+6qK2YvVRYet55HAoZveRbxZ8kbEqmeubsPGYeX0/IEvZiKSJBd57TRAsGX6fKhN0eVx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ms6KZwIuk=; 20:q1Rc7DJwKmiXfKToN1FCXxs8kBuQ5d+QUUvxlfIgfe4NEhRpNTvJJBaa+BXCN3eSbsxnUllXjkcdTia/kcrn1YL5Z2KyCXbn8UKBn9FEfopS4lCQ/SW36inOf8s0483inJ+4O734Zvz1qQZ4hZTCpZXkBX9j9727SVLgawbaM3lcb6yyqoWJlaQlPeNsOeQvWH/RGlnISpXePo6xkkMgoYdOndBrkJJMzvySkLzFJpjPlbw1gLGwAHNZgqacWE4aF7UWW1wZvuPbVib6ZjRphsk/3R17Kd2CTVhmkvNQJI76NDHw7PWjEqmqTWHdeG/6xrP5fuqJC8A22USHf62EvtkyKgLNqbTcEK/faU87/URLCr6/BbKgGBlng4WtdtT/8qT+qRWY7Ly+hfTUZDzEmSJpezdIXUZoPIVCeMVrnDapTG3O0P4aLibuAyQgI4bjeB0dYXw4uG7c3uzKhh89uXlH6ATq4bPsdpUiUEfXRwpEu8BYvQygSssrRatzSjWW 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)(5005006)(8121501046)(13016025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123562025)(20161123558025)(20161123555025)(20161123564025)(6072148); SRVR:SN1PR02MB1423; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 4:lOW69Qii5yZG3mFQAvHcXaCupf+K7RvjyT/iRZbxmy6OrQJslCuT/G0hB5iSUQFY7XmVumRQ/IyAgO2sT0AnDwWJ8NAsiU6fhmmYiQZDMMrBTUy+ps9z7fE5lpgaT7b03TzcyfDeswnjN1fmPDLqH3oWKchpSBoDwrbYsTlwjAA6EOfSkXC4EImnoEwVa+XaeE7mA0zMlj+kBJEvOYRSWwfdCCCojTMGWHcwLGFwx7oCBIZUc6gQ6bbRG9UHQk952kh75ZOee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sU8aK7pWWFqtj7WB7VapEn7z0HD2Xd+l+80fSGjlvbyBhlzZoE+UUf7TmPItpKF4+L2grlGHYtX7fPZcvhbWiNZQTbRiEzCOLrkZrb3mrMjAU0/rcja3iOgkPl9wUv1zwztKjAwPi1sXjEcOpjBxcyEog9UfKcfJfS0TOkaADmb0MSEmt/SftGoHcnniCmYKrGR5MIPNo5/lQOGODkhyPgboAqFyksITztwvIwZPRPT0tHnksEWNzT9vyigxMoVnVy1fGjDkX0ALE X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 00:59:04.0809 (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: SN1PR02MB1423 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 this flag has been removed by the previous patch. Hence also remove the flag itself. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Cc: Nicholas A. Bellinger Cc: Christoph Hellwig Cc: David Disseldorp --- drivers/target/target_core_tmr.c | 4 ---- include/target/target_core_base.h | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/target/target_core_tmr.c b/drivers/target/target_core_tmr.c index fa74518c1ad1..614e69ec637f 100644 --- a/drivers/target/target_core_tmr.c +++ b/drivers/target/target_core_tmr.c @@ -114,10 +114,6 @@ static bool __target_check_io_state(struct se_cmd *se_cmd, return false; } se_cmd->transport_state |= CMD_T_ABORTED; - - if ((tmr_sess != se_cmd->se_sess) && tas) - se_cmd->transport_state |= CMD_T_TAS; - spin_unlock(&se_cmd->t_state_lock); return kref_get_unless_zero(&se_cmd->cmd_kref); diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index baa76c65715e..8ffc101807be 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_TAS (1 << 10) #define CMD_T_FABRIC_STOP (1 << 11) spinlock_t t_state_lock; struct kref cmd_kref;