From patchwork Wed Feb 20 16:34:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huaisheng Ye X-Patchwork-Id: 10823887 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B2C61805 for ; Thu, 21 Feb 2019 11:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29A4A2CB32 for ; Thu, 21 Feb 2019 11:39:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1ADF22A7B2; Thu, 21 Feb 2019 11:39:04 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E445B2E4C3 for ; Thu, 21 Feb 2019 11:39:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5AD8A10C6E; Thu, 21 Feb 2019 11:39:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF1C21001DCB; Thu, 21 Feb 2019 11:39:00 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id ACB6841F3E; Thu, 21 Feb 2019 11:38:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x1KGZA6n004368 for ; Wed, 20 Feb 2019 11:35:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id C5E8F67660; Wed, 20 Feb 2019 16:35:10 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B1FBC611B6; Wed, 20 Feb 2019 16:35:10 +0000 (UTC) Received: from sender-pp-092.zoho.com (sender-pp-092.zoho.com [135.84.80.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 299D8CC248; Wed, 20 Feb 2019 16:35:09 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1550680506; cv=none; d=zoho.com; s=zohoarc; b=Ox8oHG9KzxXatMlgPGMfwfP8UEvd4b/WblFs3SjqTwHSKLzezAtu+NrxygDqgEWhTJrcXkrIXIaJV0z6UAYDqaP+x8InslKvUCY9zycca1oml+M7Idz7ZzRRFO6CVTCla7iSVbEan9YdUqGVik9iR4caLzF5iMu3SsicgsEnWfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1550680506; h=Cc:Date:From:Message-ID:Subject:To:ARC-Authentication-Results; bh=0txghivdCbyCc9Omc8FKkjrClRUgE0f7lR3Lxo6f80g=; b=HvExXpkgIOoQVBOpTkhtoaOuAu09Vr7TwKK8Jir7fsJY7gisXdRAWrfzu/hPn//sXebZT4E8dyiyKVA8m+WGaGT1mLDSuVIloNHq+qiEOpxpGhh9rCZSyb3xAv1U8kNp2jzgGEaC/JmwObb4E5e8yMXbE6DzDL1kykr4sxMeO3Q= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=yehs2007@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id; b=hI7OUK6VBQD40Tlzvxz7ViLKrfyFdZex7/xJftfX4+W7bUG2jwvj1nxYmRE66eN5byzwBEnPQLEw 46k09HaDwfObeIGt/s95jpoLct33qm8hKAmEJVnjLZz11ktMd9Lu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1550680506; s=default; d=zoho.com; i=yehs2007@zoho.com; h=From:To:Cc:Subject:Date:Message-Id; l=833; bh=0txghivdCbyCc9Omc8FKkjrClRUgE0f7lR3Lxo6f80g=; b=HEruFibRCa1+XQBDCVU/Ov5CDisCFKnr+7HyNa9sv0YK9w5R1dgEYeQV5klEow79 vLX4snbpQYFMmFFXWVTvmCMfdOHDp3rSaUxY2fMkLZ9N30acWT9xeOBpxZF/AMEtDj3 ogLgkYmf2X99i+I/CmShl+oBy7cCLN/Qrlz/ziI0= Received: from YEHS1XR956R00D1.lenovo.com (123.120.111.131 [123.120.111.131]) by mx.zohomail.com with SMTPS id 1550680504757912.3891591432498; Wed, 20 Feb 2019 08:35:04 -0800 (PST) From: Huaisheng Ye To: mpatocka@redhat.com, snitzer@redhat.com, agk@redhat.com Date: Thu, 21 Feb 2019 00:34:47 +0800 Message-Id: <20190220163447.9652-1-yehs2007@zoho.com> X-ZohoMailClient: External X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 216 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 20 Feb 2019 16:35:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 20 Feb 2019 16:35:09 +0000 (UTC) for IP:'135.84.80.237' DOMAIN:'sender-pp-092.zoho.com' HELO:'sender-pp-092.zoho.com' FROM:'yehs2007@zoho.com' RCPT:'' X-RedHat-Spam-Score: 0.14 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS) 135.84.80.237 sender-pp-092.zoho.com 135.84.80.237 sender-pp-092.zoho.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Thu, 21 Feb 2019 06:38:57 -0500 Cc: chengnt@lenovo.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Huaisheng Ye Subject: [dm-devel] [PATCH] dm-writecache: fix typo when alloc workqueue for writeback_wq X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 21 Feb 2019 11:39:02 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP From: Huaisheng Ye The workqueue's name should be "writecache-writeback" instead of "writecache-writeabck". Signed-off-by: Huaisheng Ye --- drivers/md/dm-writecache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c index 2b8cee3..f782287 100644 --- a/drivers/md/dm-writecache.c +++ b/drivers/md/dm-writecache.c @@ -1859,7 +1859,7 @@ static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv) goto bad; } - wc->writeback_wq = alloc_workqueue("writecache-writeabck", WQ_MEM_RECLAIM, 1); + wc->writeback_wq = alloc_workqueue("writecache-writeback", WQ_MEM_RECLAIM, 1); if (!wc->writeback_wq) { r = -ENOMEM; ti->error = "Could not allocate writeback workqueue";