From patchwork Wed Jan 25 23:36:31 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: 9538125 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 2E1F06042C for ; Wed, 25 Jan 2017 23:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2492228047 for ; Wed, 25 Jan 2017 23:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1916027FB0; Wed, 25 Jan 2017 23:37:14 +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 2EA0027FB0 for ; Wed, 25 Jan 2017 23:37:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750823AbdAYXhM (ORCPT ); Wed, 25 Jan 2017 18:37:12 -0500 Received: from mail-bn3nam01on0051.outbound.protection.outlook.com ([104.47.33.51]:18336 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751582AbdAYXg6 (ORCPT ); Wed, 25 Jan 2017 18:36:58 -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=30KrVmNwRmwZs+brEzq4yCHTy2ScdgPXhx52sQ46Suk=; b=HycrLF3tvRqwsyckiDARTYW7W2hd0VD8jFj1tqNsvicbZ5Q0LZ3xm8LlVsgCZ2Yaa/GDphHDBaI94xcs9CvjwjUc4zbNy87SzCYqaEYxeFngncn+yRdscvE69S+M3tips4KlnfnYAwiVnIwErgOA6HRuMpef567SAe91ujLe27s= Received: from BY2PR02CA0038.namprd02.prod.outlook.com (10.141.216.28) by DM2PR02MB1417.namprd02.prod.outlook.com (10.161.143.15) 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:56 +0000 Received: from BL2FFO11FD036.protection.gbl (2a01:111:f400:7c09::103) by BY2PR02CA0038.outlook.office365.com (2a01:111:e400:2c40::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12 via Frontend Transport; Wed, 25 Jan 2017 23:36:56 +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 BL2FFO11FD036.mail.protection.outlook.com (10.173.161.132) 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:55 +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 0A.A1.01420.D5439885; Wed, 25 Jan 2017 15:27:25 -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, 25 Jan 2017 15:36:50 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-85-5889345d8c87 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0D.35.16817.19639885; Wed, 25 Jan 2017 15:36:49 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: Subject: [PATCH 19/34] target: Remove the SCF_SEND_DELAYED_TAS command flag Date: Wed, 25 Jan 2017 15:36:31 -0800 Message-ID: <20170125233646.2243-20-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+NgFtrJLMWRmVeSWpSXmKPExsXCddJ5kW6sSWeEwbW/5hatS98yOTB6fN4k F8AYxWWTkpqTWZZapG+XwJVx9f9LpoIO6Ypnd0+zNjAuEe9i5OSQEDCR2Ph2NksXIxeHkMBS Jombm+8yQTjbGCVu7JrDDFN19dI7dojERkaJNW8mM4Ek2ASMJL69n8kCYosIGEj87r3ACGIz CyhJ7Jm6DKxGWMBb4tiFdewgNouAqsSdJQtYQWxeAXuJRzuPMkEskJfY1XYRLM4JFG89+xNs ppCAncT6A61gF0kIXGeR+PrjFBtEs6DEyZlPWCCWSUgcfPGCGaJBXeLkkvlMExiFZiEpm4Wk bAEj0ypGsdzMnOLc9NQCQxO94sS8lMzibL3k/NxNjJAALdzB+Pq29yFGAQ5GJR5egS0dEUKs iWXFlbmHGCU4mJVEeNfJdUYI8aYkVlalFuXHF5XmpBYfYpTmYFES570Y/TFMSCA9sSQ1OzW1 ILUIJsvEwSnVwKjwvzTyoa1t0qe1Qrp8mQxlu933fpzE+Jm12euhVuRi6zSdCw2NZ7w7Jngz lJX/v//5p0H1xew2jjfXlhxfxbBT4QV79cudaUsbbpnNz/+4oWKGzo7gCeunaYuu33Fusct/ N76rnWFrFRZ8cZB5yfvDq7pfJmTFXMuocv93oew6UpW57E2SnkosxRmJhlrMRcWJAPdi9QFM AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkuLIzCtJLcpLzFFi42Lh2sjJpjvRrDPC4M8uc4uDP9sYLVqXvmVy YPKYtuY8k8fnTXIBTFFcNimpOZllqUX6dglcGVf/v2Qq6JCueHb3NGsD4xLxLkZODgkBE4mr l96xdzFycQgJrGeU+L7hIjtIgk3ASOLb+5ksILaIgIHE794LjCA2s4CCxMWps8BsYQFviWMX 1oHVswioStxZsoAVxOYVsJf4Nm8rM8QCeYldbRfB4pxA8dazP8FmCgnYSaw/0Mo0gZF7ASPD Kkax3Myc4tz0zAJDQ73ixLyUzOJsveT83E2MEL9G7mB8OtH8ECMTB6dUA+PGHA6eh3PubC/k P5NzSFtKsHqbR0rkmx8OG/nfTtt7IFF3oejRez0aUZP0Vr3oXSCS/XveG470vVYFNZ/97rrt vXlwy3Xr+TE2U/vOqjx93q/Jsu+PdOWrkwztDnsCKlRyvslu7t8vm/13V+Hu07fWVIvOLYu6 Ld+RsnVaxCE3cSupR8uZb5YosRRnJBpqMRcVJwIAUaPlLJsBAAA= 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)(979002)(6009001)(7916002)(39860400002)(39840400002)(39450400003)(39850400002)(39410400002)(2980300002)(438002)(199003)(189002)(106466001)(356003)(86362001)(8936002)(305945005)(575784001)(92566002)(69596002)(50466002)(77096006)(48376002)(33646002)(38730400001)(50986999)(76176999)(47776003)(2906002)(626004)(6666003)(53936002)(5003940100001)(97736004)(81166006)(1076002)(8676002)(1691005)(450100001)(6200100001)(110136003)(189998001)(5660300001)(36756003)(4326007)(68736007)(2950100002)(81156014)(6862003)(7049001)(50226002)(2270400002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1417; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD036; 1:k+q4flJkdhbCBCKyY7XcD7y3lozr0YYHN0s4p75S6LjrFWE252+qjYCAmCNBeypV5lFCGf/y99YGTcnTCZIwhx+CMAzFBN6/qd27JPTLuWDCdqJiyEXlNyMe8khJERJFLT/FUN+5R8jq4PzxT4K18aKB1b0po/Efot6+b8UxBPW11f+Qep2Vv6n2E+nqj15RYuPfzQXJluhrYFMyV61o4wS7CFlZzKKcZcUoXhmgsHOu0rrbPs+xI7nps03mTDRqa30kwuQsRtwYDc8vPnaYZGvi5FoXK1H+orjikaViTxq5nMepqLLbCWsew+gtpMly2tEVhI+EPn86YD6iSmr0oEsWYGHB3d1Bub78ubz2wrqhHV7FCvXvX0mrrX5ygWg8b7qq2sYUHZwDWnJzvq2cUd8cchtqdHYU/9eF7vpmYeTuTPNKNDJFColk/ceqHECZV9Y+vsxXkXRhk6LGWdDHhznAxNzTLxQscX5HGPgtoCQpIXzFzHuJY00cbenGwdBP X-MS-Office365-Filtering-Correlation-Id: 9ae36282-23a1-4c79-f54c-08d4457b0c7a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR02MB1417; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1417; 3:cgzM8N+1XDzRDzw7L4iLVUX2MDcTK1jJ+eAsllIqBCJs5TLML8y6VIUSiok5E5XrTJkc1nl+MI9GJWAT3+0W9DWWjwPTMJqQnDmespNUIjo57+d4X+p+E1s4u7rJND/DPwGnNhAT6YV/aPBAZCNnYg5vD2KnxADzHixSUEwr2LvJJUqEco6IfWmRz5cY6jkP2n4fB0BQ8j74rnFq1g72GIj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Jyw7Ri0195RSLLy5oIUD8eRIDN/nmDEKbRjZlOn6gIm8K1BjmRf0l/yCvGMRZBQd90aKZu3bL7vWzSEAw43z2gr6TPbTvwa7MGGNtuqPcR47Zhwel75bPzfwwK74hyD2j4BKnaJftE5EuXnkCE2pP0iqQ1vYjDWT83q26obAAvNgzumLLJnDfcgFN/twYq1PD4li1xRadY+IcdJaQc96fKM91KO5xljfmG9BY+ultOwifw==; 20:DxXxMVlKOyRtw3sP9TX/Raj4h8syCSxc30cmS66hay3i5kjAXKzpyt9OKxLwSsngnoNpKDi4k3PT3K22cdq0k4cYiX18qO8GC6vRhTywyJ5jK8iKRL9oSwLmahnpNIJEEXS+P+FmImxKZhAn8WbHbQyA0klJvHn+dwyTYGs/zxzw19qdD4ghpWW6CZtrajDhdVkYZlNEKUg+YIGxJeNc0A0fX7zw2Z6fZOX0lhFOCCHdfJXxZ2KTaOutfxeWpm4NFZiv/EtxS9omwbOu8yqFRc0ddssHzLBJoaABdD43J4RYlOvkMN1sf+0Fm84Jx8l/2D2nlMjR7KSsY7XAmqsW2Y7wS61wauB3Hl14fvb8RyFUc3P4aL2u3dpSyuW3jWl7gpo+v4ROscabLwB+n1XP9gkmPF7Zvovi2VG8N06yYtAPpBcvX/V4Ror6SmvoDR/57iT5TrnP6Xv5ps3ZPSl9eRABXXtidj1fWkZySTI251i/Rs0v/lcNseagQYS+LrQB 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)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:DM2PR02MB1417; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1417; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1417; 4:h9Ndla6/K36FlM6m0o7fO+9GTBrf5PTfND40hFhOEgBtLbep/oE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?Q?etcaGg3GN8f2UGZACSIrU34ax3lrJCM4NYZatnOaBEAoflA1HAS4kOvU+5JW?= =?us-ascii?Q?+lpmqxrevaA4EKB+OATRVOf/x5I7L1Yfl3mg9HrCGvBmVxCBxfy04IUvutWH?= =?us-ascii?Q?4aqK0Yp0TnMPM2mfraszk3+SN9P5eG22LRFVej3b8cO?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1417; 6:rkA9mNC9FRpimaaeu4myKIE/W1omqtakWwuGuIdSENaV36LXcf7eUU8pYHNWoT9zSvv8tlYrMCXo9l+cXYTJjZC2gOqikO1wQ/+BmTT0Oifwtb8ld9Y/eRFDzBd3XBv8fS5Qhi8YmzQMZNBl1tx6smE4jVOIHuizfJo+NqvUqQ1+nVQuJBJ/jhEs1rw5U5SyHwcXCGvvgz5eC8qnFIl+BEBf8WEITXgR9xJqW7VbYncH+4y6NWlC4guJTKPJ8idT1xEZ5UIjA6wwbiX7/+GZHyGR5w9aoir0NTkx5641wMmGXUi3oQH8BKM61dPdKYr3mpZB0kqnlRzXk8lQTukBCbn/brSWJ0mOoxHB8bSfns10G/1+Vga+R3x/I8J0mf4Lq/n5iHhpRYvCwn9srqWFrDzI2w926AnZpSVKVhU46MTNhw5Ugh8+nThwDgo0GnVtE/zhHLOxT9h8dP2oNG0MAg==; 5:LDlAmCPP3gM5lw3Jbrt6UZnAlqJ0qSiK+RXYMBFUby8SphLfk6GH8IkPxaLPUfOaKmGkEZk328+1XgPd73/yppqpw5cfqsrO87wPwBOv5ZNhnwTlTdyMWbYFgmmg2OLmLm6zi81AFL/UDqdJf7NwkQ==; 24:1iF0EY/CJcSOthsIUmNokqUtJr6mNLaTy0714uBqBAu1jIr/EjF891ZHfhsaVQzuGxSVcT/WLpel2EIIddeTbB7kAQvUrIflGFO4/+ZUy5A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1417; 7:rgNYwTmqYRDFws3qQK0pKiQMI7OKvs/WrHq1jdkfdJUW/zoxqniGqMqOk0rMgDJOC0sRqdI0W7CRAHU3E/1teL39uhsKcOwcmRJ5bO4p/rGyfoFNIGIggEzsQiKSCrdiULFmpN0VB1g9rpf7R3sR4/tnvvKsagwaywxAVz/KQK1mHfbuRLhQk4g6m8pdRzNzizSyy4MhEd8IH+xUVIos/oodHKWhVkftkmFOKL6+9hGU1XgkDNbyBvryYC42IrMZPxyuNAjaWZ7ZyPGoSi7TRkYWOWh97n8IUR8UkP6IrT/6WpQKFs1FdaMn4tX8RN2Z82kpETSRxrGS1F2wXLs4UtmDHvQ5iU3Goya3bf6m2Mq77t75Y8OU9qr3NX5terVY59mjtZLJY67B7cfiGPVqPhzwlzjcEjXTfRFXzUkg54tA2qgE0O48izVMbGoFiT4c37ErRjaGCpAzu+1AwcXTBw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2017 23:36:55.6577 (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: DM2PR02MB1417 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 previous patch removed the code that sets this flag. Hence also remove the code that tests this flag and the flag itself. Signed-off-by: Bart Van Assche Reviewed-by: Andy Grover Reviewed-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Reviewed-by: Hannes Reinecke --- drivers/target/target_core_transport.c | 36 ++-------------------------------- include/target/target_core_base.h | 1 - include/target/target_core_fabric.h | 2 +- 3 files changed, 3 insertions(+), 36 deletions(-) diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 3aede9173a88..65a718095c6b 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1881,8 +1881,6 @@ static bool target_handle_task_attr(struct se_cmd *cmd) return true; } -static int __transport_check_aborted_status(struct se_cmd *, int); - void target_execute_cmd(struct se_cmd *cmd) { /* @@ -2935,39 +2933,9 @@ transport_send_check_condition_and_sense(struct se_cmd *cmd, } EXPORT_SYMBOL(transport_send_check_condition_and_sense); -static int __transport_check_aborted_status(struct se_cmd *cmd, int send_status) - __releases(&cmd->t_state_lock) - __acquires(&cmd->t_state_lock) -{ - assert_spin_locked(&cmd->t_state_lock); - WARN_ON_ONCE(!irqs_disabled()); - - if (!(cmd->transport_state & CMD_T_ABORTED)) - return 0; - /* - * If cmd has been aborted but either no status is to be sent or it has - * already been sent, just return - */ - if (!send_status || !(cmd->se_cmd_flags & SCF_SEND_DELAYED_TAS)) { - if (send_status) - cmd->se_cmd_flags |= SCF_SEND_DELAYED_TAS; - return 1; - } - - cmd->se_cmd_flags &= ~SCF_SEND_DELAYED_TAS; - - return 1; -} - -int transport_check_aborted_status(struct se_cmd *cmd, int send_status) +bool transport_check_aborted_status(struct se_cmd *cmd, int send_status) { - int ret; - - spin_lock_irq(&cmd->t_state_lock); - ret = __transport_check_aborted_status(cmd, send_status); - spin_unlock_irq(&cmd->t_state_lock); - - return ret; + return cmd->transport_state & CMD_T_ABORTED; } EXPORT_SYMBOL(transport_check_aborted_status); diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index dcd614fd5a05..71ea89233e01 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -130,7 +130,6 @@ enum se_cmd_flags_table { SCF_SENT_CHECK_CONDITION = 0x00000800, SCF_OVERFLOW_BIT = 0x00001000, SCF_UNDERFLOW_BIT = 0x00002000, - SCF_SEND_DELAYED_TAS = 0x00004000, SCF_ALUA_NON_OPTIMIZED = 0x00008000, SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC = 0x00020000, SCF_COMPARE_AND_WRITE = 0x00080000, diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index d7dd1427fe0d..5b7af743fe79 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h @@ -153,7 +153,7 @@ void target_execute_cmd(struct se_cmd *cmd); int transport_generic_free_cmd(struct se_cmd *, int); bool transport_wait_for_tasks(struct se_cmd *); -int transport_check_aborted_status(struct se_cmd *, int); +bool transport_check_aborted_status(struct se_cmd *, int); int transport_send_check_condition_and_sense(struct se_cmd *, sense_reason_t, int); int target_get_sess_cmd(struct se_cmd *, bool);