From patchwork Wed Oct 24 08:04:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenghui Wang X-Patchwork-Id: 10655585 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 7B99613A9 for ; Thu, 25 Oct 2018 08:11:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A0892B0B9 for ; Thu, 25 Oct 2018 08:11:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CE2E2B0C5; Thu, 25 Oct 2018 08:11:38 +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 F08FA2B0B9 for ; Thu, 25 Oct 2018 08:11:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C0EA4307C716; Thu, 25 Oct 2018 08:11:36 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 93C8E60BB9; Thu, 25 Oct 2018 08:11:36 +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 3DCFC18005B3; Thu, 25 Oct 2018 08:11:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w9O84sBe032233 for ; Wed, 24 Oct 2018 04:04:54 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2F21D1001F58; Wed, 24 Oct 2018 08:04:54 +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 896331057067; Wed, 24 Oct 2018 08:04:51 +0000 (UTC) Received: from qq.com (smtpbg423.qq.com [183.3.255.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2364836883; Wed, 24 Oct 2018 08:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1540368286; bh=cn3zsrsKmKJuwOekZM7/6IEYloYuKe5xnWih/8byFgE=; h=From:To:Subject:Date:Message-Id; b=KK62+amj4KilGQ+OStTSnHpHQQQRpbXc4MbtTpUNYaMlQVm9AFWIyWEHsmfKqRemz d0m1DF01Xpu8e0kcmTwXtBTdz3iT2VYB6VXrUgUy0NlQPdKR/WJxCoG+Q8hyTv2EL2 sKOBxFvt+7e+hUYIwOQYgVy3BI4VzybCNh+ppmvM= X-QQ-mid: esmtp7t1540368281tgkioaiin Received: from localhost.localdomain (unknown [221.221.254.161]) by esmtp4.qq.com (ESMTP) with id ; Wed, 24 Oct 2018 16:04:36 +0800 (CST) X-QQ-SSF: 01000000000000F0FH4000000000000 X-QQ-FEAT: DL8BXQjj6qrLUWyOq8jv/pMPPxekD5+49FrKRYmHlhCIFl2vIeK4lbJsjgMd6 ghZkx+d9A29AnE7pXRCZasYHbVcIwYPzTG0Hy3wV+BUOXQXprmQ6azYr52+RYjJONPF8Aaj rTUJmBPgTkC33nJu5rFnMk6ZeRMSRK38GVzSxzPjwLj838Fq8AkoX+PHROacDFf+C9PMPhx +0YQPeeGiVJKWXLBDUILRYfgXJBs5/CBshNYvHGOuMaz0xWfpixxzMw5LWozWWEO02dulNI wIxKLkZz15BvN2JH/iyiuBavU= X-QQ-GoodBg: 0 From: Shenghui Wang To: mpatocka@redhat.com, agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com Date: Wed, 24 Oct 2018 16:04:36 +0800 Message-Id: <20181024080436.2230-1-shhuiw@foxmail.com> X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:foxmail.com:bgweb:bgweb19 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, 24 Oct 2018 08:04:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 24 Oct 2018 08:04:50 +0000 (UTC) for IP:'183.3.255.121' DOMAIN:'smtpbg423.qq.com' HELO:'qq.com' FROM:'shhuiw@foxmail.com' RCPT:'' X-RedHat-Spam-Score: -0.111 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS) 183.3.255.121 smtpbg423.qq.com 183.3.255.121 smtpbg423.qq.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Thu, 25 Oct 2018 04:02:53 -0400 Subject: [dm-devel] [PATCH] dm writecache: fix typo in error msg for creating writecache_flush_thread 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.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Thu, 25 Oct 2018 08:11:37 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP The error msg should be "flush thread" instead of "endio thread" for writecache_flush_thread. Signed-off-by: Shenghui Wang --- 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 5f1f80d424dd..d656bd1799ae 100644 --- a/drivers/md/dm-writecache.c +++ b/drivers/md/dm-writecache.c @@ -2064,7 +2064,7 @@ static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv) if (IS_ERR(wc->flush_thread)) { r = PTR_ERR(wc->flush_thread); wc->flush_thread = NULL; - ti->error = "Couldn't spawn endio thread"; + ti->error = "Couldn't spawn flush thread"; goto bad; } wake_up_process(wc->flush_thread);