Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2286834ybl; Sun, 18 Aug 2019 22:55:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdrmPSjP7xUZH94Av+rmA0jcAmOdeLiUSZIycYJsTCgffqfT7N4ongW6UvJerjRI/GW68q X-Received: by 2002:a17:902:e389:: with SMTP id ch9mr20873801plb.23.1566194102067; Sun, 18 Aug 2019 22:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566194102; cv=none; d=google.com; s=arc-20160816; b=SwyslgIr/FXcBbjLfxa0P7R6qwp9WByIPoyx4DxRXJ64u3UUo2d81ZBP1V0+qT8bvz PfGmpAHFyBsvoeIPVe4eSKSB1G2edH3T6a5/LtHQnqWwWWZVLJ5k8e3vQbzSCUviC0fO WCGrr/vNaLkWJX/J9YvBSgoy9w7yXa/Hwubk9+jqXuU63ZhJFo5BwsKCWzMrtjVy3Aqy 7rveS0UYMiBOneCGcez3pOGaAvGP8A5F2ahd7+DOsZ/IbC1tjBna6JF3WLcU+xp0N6ZW QPhqJ7eaLRV3Espq1juwsItlxYRv7h5b9yxy3bKzu1+ZVnJxYZc5uIoPTlbWW07j4HHa MNaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=P9LNiJzo4+qrf92uuXS7FCCqLVSMSN778co5eo7tRqQ=; b=dvGxsv2GnWaiDyS4k1SrKtuquItNUoFxTTs4sVPOuTqUngqBkcYna1bYjK8MfsylHU ioCzCfNnNqk5iF3sVCZ6bt6zfaHdwEN7E6cnkssHnrFLI0oxl96eVFzvOEhe1ncKj00p P0eZUclYHNxitsuify2wj3pzLQwXINnoss+Q6z/c27yxQHC7MksyTLQ1b/PbWsM61TGW p2Km3GKBDKGTai9BD2iTbJJ10CvORRmWpRf4R+aYglZT49VEWpHuZCylHj5N4kUYH5Nu J6hWvKGPSPAbHFc/Z+6nwmGWKrDHf9qkP2cuFyOgWo0VJdbyuqsVeO3+pOXrj7X/cffI +gLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si9145590pgt.20.2019.08.18.22.54.47; Sun, 18 Aug 2019 22:55:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726552AbfHSFv7 (ORCPT + 99 others); Mon, 19 Aug 2019 01:51:59 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:52802 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725846AbfHSFv6 (ORCPT ); Mon, 19 Aug 2019 01:51:58 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id 83A1CB25DEFF370E1043; Mon, 19 Aug 2019 13:51:55 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 19 Aug 2019 13:51:54 +0800 Received: from 138 (10.175.124.28) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 19 Aug 2019 13:51:54 +0800 Date: Mon, 19 Aug 2019 14:08:58 +0800 From: Gao Xiang To: Joe Perches CC: Gao Xiang , Greg Kroah-Hartman , linux-fsdevel , devel , linux-erofs , linux-kernel , Chao Yu , Miao Xie , Li Guifu , Fang Wei Subject: Re: [PATCH] erofs: Use common kernel logging style Message-ID: <20190819060858.GC30459@138> References: <20190817220706.GA11443@hsiangkao-HP-ZHAN-66-Pro-G1> <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> <20190817233843.GA16991@hsiangkao-HP-ZHAN-66-Pro-G1> <1405781266.69008.1566116210649.JavaMail.zimbra@nod.at> <20190818084521.GA17909@hsiangkao-HP-ZHAN-66-Pro-G1> <1133002215.69049.1566119033047.JavaMail.zimbra@nod.at> <20190818092839.GA18975@hsiangkao-HP-ZHAN-66-Pro-G1> <52e4e3a7f160f5d2825bec04a3bc4eb4b0d1165a.camel@perches.com> <20190819055243.GB30459@138> <31cb3e54fe532630b45bb74ba4fc688eb86eab1f.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <31cb3e54fe532630b45bb74ba4fc688eb86eab1f.camel@perches.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Originating-IP: [10.175.124.28] X-ClientProxiedBy: dggeme717-chm.china.huawei.com (10.1.199.113) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joe, On Sun, Aug 18, 2019 at 10:47:17PM -0700, Joe Perches wrote: > On Mon, 2019-08-19 at 13:52 +0800, Gao Xiang wrote: > > Hi Joe, > > Hello. > > > On Sun, Aug 18, 2019 at 10:28:41PM -0700, Joe Perches wrote: > > > Rename errln, infoln, and debugln to the typical pr_ uses > > > to the typical kernel styles of pr_ > > > > How about using erofs_err / ... to instead that? > > I've no opinion. > It seems most fs/*/* filesystems actually do use pr_ > sed works well if you want that. Sorry, I mainly refer to ext4, ext2, xfs and f2fs... I didn't notice the other filesystems, you are right. Okay, I have no opinion as well (maybe we could turn back later to introduce sb parameter...) > > > - I can hardly see directly use pr_ for those filesystems in fs/... > > just fyi: > > There was this one existing pr_ use in erofs That is just because the following piece of code was taken from fs/mpage.c, I tend to replace it with iomap in the later version after tail-end packing inline is done. Thanks, Gao Xiang > > drivers/staging/erofs/data.c:366: pr_err("%s, readahead error at page %lu of nid %llu\n", > drivers/staging/erofs/data.c-367- __func__, page->index, > drivers/staging/erofs/data.c-368- EROFS_V(mapping->host)->nid); > > >