From patchwork Thu Feb 2 00:58:27 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: 9550893 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 9E1BC60236 for ; Thu, 2 Feb 2017 00:59:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 899AC2844A for ; Thu, 2 Feb 2017 00:59:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E47F2845B; Thu, 2 Feb 2017 00:59: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 06BF32844A for ; Thu, 2 Feb 2017 00:59:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbdBBA7N (ORCPT ); Wed, 1 Feb 2017 19:59:13 -0500 Received: from mail-sn1nam02on0076.outbound.protection.outlook.com ([104.47.36.76]:54756 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751365AbdBBA7F (ORCPT ); Wed, 1 Feb 2017 19:59:05 -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=xKT+ZGzu/UB4QFYVqWo1/b/J9gQoLFf17kDZNpR2Z7I=; b=vWr/4enPeRzby+7CI0pdGF1JhD/baIO2p6VyeujfRZj1zXxVRJ31ObIBtzBRN9dC/rJ1QQN02GgU5K+jn2cbH/qP+8j5PhlWtPBz05MhnCuDNJu7HLknRgctdWRf4Jtb5k54vnctHn2PUTfwobPVCfZr+H1HCe3ZGWK2euhYqag= Received: from BLUPR02CA051.namprd02.prod.outlook.com (10.160.23.169) by DM2PR02MB1292.namprd02.prod.outlook.com (10.161.142.156) 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:03 +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:02 +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:01 +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 3A.BC.01420.D0282985; Wed, 1 Feb 2017 16:49:17 -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-9c-5892820d067e Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 4D.63.16817.05482985; Wed, 1 Feb 2017 16:58:56 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: Subject: [PATCH v2 10/36] target: Rename tmr_wq into alua_wq Date: Wed, 1 Feb 2017 16:58:27 -0800 Message-ID: <20170202005853.23456-11-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+NgFtrBLMWRmVeSWpSXmKPExsXCddJ5kS5v06QIg7XztC1al75lcmD0+LxJ LoAxissmJTUnsyy1SN8ugStjXtsFloLt4hVHP0xgbWB8I9zFyMkhIWAi8W7nZ/YuRi4OIYGl TBJP13SzgCSEBLYySnSsCYYp+r91OhtE0WZGiXObdjCBJNgEjCS+vZ8J1iAiYCDxu/cCI4jN LKAksWfqMrAaYQEbiWcH1rGC2CwCKhIX3yxhBrF5BRwkFu/eyQKxQF5iV9tFsBpOkPjxmVBH 2Et8+3OUBWSxhMB1Fol/M6exQjQLSpyc+YQFYpmExMEXL5ghGtQlTi6ZzzSBUWgWkrJZSMoW MDKtYhTLzcwpzk1PLTA00StOzEvJLM7WS87P3cQICc/CHYyvb3sfYhTgYFTi4RUQmRQhxJpY VlyZe4hRgoNZSYTXtxEoxJuSWFmVWpQfX1Sak1p8iFGag0VJnLf1dX+EkEB6YklqdmpqQWoR TJaJg1OqgVHf8Izmtvigu++2L5HK7/79v8du3vbpDLa+wWY/PD4aHUzVYftRLP5O7wDTx+tK f8vKJVMPlEgW8rt9+5c2e3GirNP30rIV9n8Xnr/0+dvlHi2mgrWfjCYuNOBuWMLfPj8yb/up iTO7A2c/PMs6aXHOvUkJv3e/lLywbO5tnrKc33tNdR5On3paiaU4I9FQi7moOBEA6nSjf0sC AAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkuLIzCtJLcpLzFFi42Lh2siRohvQMinC4NpuK4uDP9sYLVqXvmVy YPKYtuY8k8fnTXIBTFFcNimpOZllqUX6dglcGfPaLrAUbBevOPphAmsD4xvhLkZODgkBE4n/ W6ezdTFycQgJbGSU2LBgKTtIgk3ASOLb+5ksILaIgIHE794LjCA2s4CCxMWps8BsYQEbiWcH 1rGC2CwCqhLbdz4Ai/MKOEgsvz2LGWKBvMSutotgNZxA8cXHIWYKCdhLfPtzlGUCI/cCRoZV jGK5mTnFuemZBYaGesWJeSmZxdl6yfm5mxjBfuWM3MH4dKL5IUYmDk6pBkYzu7Y3Tzd0GrP0 5JjeOpv+iO3Ef+U9pUJ3W4v/h5Xe+1eQPmFl6JP/6+osWbZOORil7q1WnmNwYcHGe5lHFnDd /qNg/v2XlNBEA9swP5XyZ/uLzdxfJm+S9D6YdrNW4t/2kgyVcyfvXMj8rG3qc9JwZ2TQqVpb lRKTa+seTVddPb2iXcB+hqsSS3FGoqEWc1FxIgA9eROSmwEAAA== 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)(39840400002)(39410400002)(39450400003)(39850400002)(39860400002)(2980300002)(438002)(199003)(189002)(36756003)(305945005)(6200100001)(92566002)(86362001)(626004)(2270400002)(450100001)(6862003)(33646002)(6666003)(2950100002)(5660300001)(69596002)(356003)(110136003)(2906002)(48376002)(50466002)(47776003)(4326007)(81156014)(8676002)(53936002)(77096006)(1691005)(7049001)(38730400001)(97736004)(8936002)(68736007)(50986999)(76176999)(81166006)(106466001)(1076002)(189998001)(5003940100001)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1292; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD022; 1:jkP1Q3GUvhWNrnAnJ7IrUE6dafrfXj7rNYQ4xEStmctdu70jPBkK0NdNL5xnHMpOGXSrvHCUG5aUDaA8m5gxjvqFjmKP5yVckf7qZ14V2X73zvoXlgAul2/J7a2GiYNriRw0qQVG30eyl32TXpBiYt80//yFQnn6yOuXRyJGUCdaHnmv7f7EioVZR099m7KKt5Bmge67/RNjYcq6wXZ/GvHrSR6+JVfreLWF2k5yU4uSIldvCND04NyBssD43L97wBcShwlIU5zJmqO8jfQSssS3mquOIgn9tJNikvCrT75+X0cZ+JE8WT0mR2LlNG8/+WF3GmcfqYu6l9utWFxzo0IR4P7T9rhVFlXYYiqJLvxfavWhpP+FPOC7n2XhNeX1HwxJ+D6T6gN7gjUbXyFe+j1b6ql8DvoghzosEk5XhAi1CHNQfiD/hLD7JVmONkwHJWi/ENr5kHHhsTCm3qYuumy35wE9o7qkaVtS+EK9R3tmjOA9geweFVHqzRV7Q3qT X-MS-Office365-Filtering-Correlation-Id: 140aeb0e-dbea-4a46-be4e-08d44b06ad85 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR02MB1292; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 3:8rKsiQAr6J/FI+3KiYEXdsauxmUsln7IL8XO6g8cbaRukSiAjdcbBuU7w8X2sn5dg9hABpSKXSdu+CM7tSo6oyJuhLRdcsFAKd1SnrNKeaGLxTr6dM+mEZI20rw2YB+OnizWYp3474wlmmvRPZcYMpNdsvuKUsf+jeikdYEuytLNK/OM5C/Herw5N4IOgRIbpNepvvTuyr+6NKTB4A4/4GJp1tHbwVpMcI94/oroUGIVK0Qu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OuGSekIkfUqZupD6uz559oDIgRWcF6mhYrk0dV5HsMOjWvU6cAR2fjL70X9pOXQTLkqnct0412Olj0ghmhCNHGgmp3GzaftKVx2D9j8p6bQdodQ2QXMSn6WDjA6P12q597PbqzmecPLru+eXWzeqyhvNz0fJ4sExPL6Y37T6kGlwsSwnCdHZcQIQqgi0zkCiRcd8R/+sygH2JneaYlDi4pu3kJhtVmrmI7JoI0eZepvKzPdDRdXWRctg0wC4kbs9hq1TEVmay87EYe7n0AsBvRUNxnj/iNyH8yQCkUFmdYOCcgdHybQBW9wnp/CK6iKdGzG/ByQsBG1F1u/WRClEYFK2scH6dWGAvhOwWp0VXEiX4m9sMd4U+AlK/9P4iN8kCt6thhUp0bXTt0eXzYJj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(20161123558025)(6072148); SRVR:DM2PR02MB1292; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1292; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 4:RaryIlQofL8eNDAGZ7F6JY3SeIU4VDKCbyMQnYe650jZHP8+2Hu8WF06fMtkW8BLIO4oyOhnIqSOKYwfLw7VvBVDwKWjbXgb5i+uNAQH59g8g0YAgCYiviWccRR8HqpENqk9Qq/+O5j4FEREv0lHPXwcdHcZQuaTFkanzMNOEYIfyHVZiYmR7cznMPBIbP+zuWWMiHT7qMyj2twf9lRrhhA1KV6fzX0p97V0zWDcuYOPvnzy5rxdXHio9PQsLAj8GyTjOQGGP+G0d5fYpc3sxuFBnw011VrK1nEAETMFtymWrzZty82LgHyoeLwiCguiTYaD/bICZtbyBHoTvwfbFTPOAc7Ebpw4jIfniO4CnIOvKT4lD2/SOGQJ0KwRatCaHXX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nwgjSDeVI5L3C8pxEqCyYQWK4Jaj1y/wF/qdCoDyASAc5kTuSsgOibg2FV+ocL45ck1F8Si5ELejFEqhcyhb8MtivoSfKdcGc1djG5cG2xdC/UuV5ql7Yni0UoGyYghIHCd3qSBAgn5zZZb4wphchfxTUW8fCre6IZ4nKqtZr66nXdpmqynBxIH02xQQtOckTlHfeC9ljrqhMe X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 00:59:01.8880 (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: DM2PR02MB1292 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 Rename tmr_wq now that it is used for ALUA processing only. Additionally, drop the WQ_MEM_RECLAIM flag since ALUA work is never queued from inside the memory reclaim path. Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig --- drivers/target/target_core_alua.c | 4 ++-- drivers/target/target_core_device.c | 12 ++++++------ include/target/target_core_base.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c index f5e330099bfc..851ec74bc6f2 100644 --- a/drivers/target/target_core_alua.c +++ b/drivers/target/target_core_alua.c @@ -1121,12 +1121,12 @@ static int core_alua_do_transition_tg_pt( unsigned long transition_tmo; transition_tmo = tg_pt_gp->tg_pt_gp_implicit_trans_secs * HZ; - queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq, + queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->alua_wq, &tg_pt_gp->tg_pt_gp_transition_work, transition_tmo); } else { tg_pt_gp->tg_pt_gp_transition_complete = &wait; - queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq, + queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->alua_wq, &tg_pt_gp->tg_pt_gp_transition_work, 0); wait_for_completion(&wait); tg_pt_gp->tg_pt_gp_transition_complete = NULL; diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c index 9d55e9fe7857..5431c51a70be 100644 --- a/drivers/target/target_core_device.c +++ b/drivers/target/target_core_device.c @@ -899,11 +899,11 @@ int target_configure_device(struct se_device *dev) /* * Startup the struct se_device processing thread */ - dev->tmr_wq = alloc_workqueue("tmr-%s", WQ_MEM_RECLAIM | WQ_UNBOUND, 1, - dev->transport->name); - if (!dev->tmr_wq) { - pr_err("Unable to create tmr workqueue for %s\n", - dev->transport->name); + dev->alua_wq = alloc_workqueue("alua-%s", WQ_UNBOUND, 1, + dev->transport->name); + if (!dev->alua_wq) { + pr_err("Unable to create ALUA workqueue for %s\n", + dev->transport->name); ret = -ENOMEM; goto out_free_alua; } @@ -954,7 +954,7 @@ void target_free_device(struct se_device *dev) WARN_ON(!list_empty(&dev->dev_sep_list)); if (dev->dev_flags & DF_CONFIGURED) { - destroy_workqueue(dev->tmr_wq); + destroy_workqueue(dev->alua_wq); mutex_lock(&g_device_mutex); list_del(&dev->g_dev_node); diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index f6e5fb22f338..5cb7583ad701 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -793,7 +793,7 @@ struct se_device { struct t10_pr_registration *dev_pr_res_holder; struct list_head dev_sep_list; struct list_head dev_tmr_list; - struct workqueue_struct *tmr_wq; + struct workqueue_struct *alua_wq; struct work_struct qf_work_queue; struct list_head delayed_cmd_list; struct list_head state_list;