Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2029337imu; Fri, 23 Nov 2018 03:46:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/VC8YwEUnjxSPBL5Y4LEHdjovk5EkGAc1zxXnuHmSeYlWhuKEkvRdcyl6ij64IwgjC3t+Zf X-Received: by 2002:a17:902:25ab:: with SMTP id y40-v6mr15050891pla.258.1542973589861; Fri, 23 Nov 2018 03:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542973589; cv=none; d=google.com; s=arc-20160816; b=F3pCHrMNSxlQysZ4xi/BiWP3UloYScLa1rDDSBN2xQ5xmiKo3czwf0u95VcPyxjevG i4wj+0XuI5piAWG9YZwpyuTGl0xJved7PA3X8IjFWTgri9RYG/Z2a7e1jC2PNX0aLD+R /QDdpK+0g6gmUY8Tg30QPkqu4DMsmwPnFB3KcMeRyqvLsto/lxnhOyFPKjdKtpOicVL4 XqFDPY1vkdYU/AvD+Kt8ZoDf54ukr6+OQ6ANj6w5Aq0cf6Se0cblyQoXnGwd0g4AN5HN 7fu2vJBF7VtWQ/v6ajvpuOZXDYIDa9t6r5ZmijA2mntC3lFnxEFa9XI4xL51fm5b0j2u m7EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=SImIz5vhcOlR4HxBI+3GA1G4CbHusbfSpgJB83pBGj4=; b=WkQPBxYhw0KFiUtadpPbwv2M1VtcNmTKwmtbSeaU/9uypYHX2WIcSI6geaoWdxqY6/ 20beKcMuPqf5VL9v4kWv1rZHiKYPiBG/Hkt4kbUeg+efCWMlHHdZNBoOsxnkhCyofKDi 35sKgPJ+pJzZPEdkY0tg9uQBNvT/eT0cPr680jdsUkZ7LCSOvW3MJcg7tw/Rq1x2AqT8 xutIGv5kAT+jDwyJBK8mNtA6lFGby4ONAnwfPIHQXi1CRxkE4ih3FyXmnp9b64ClGHjY qMHOamOXVSGpNoAVpUjkyX1EXF5vAEz7pK9B7ZSJaZ4/tdWcuanyToF6uE31xCJGaLee 8aXQ== 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 z186si50606271pgd.90.2018.11.23.03.46.13; Fri, 23 Nov 2018 03:46:29 -0800 (PST) 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 S2405400AbeKVV27 (ORCPT + 99 others); Thu, 22 Nov 2018 16:28:59 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:45305 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732079AbeKVV26 (ORCPT ); Thu, 22 Nov 2018 16:28:58 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5141A2DE26B08; Thu, 22 Nov 2018 18:49:59 +0800 (CST) Received: from [10.151.23.176] (10.151.23.176) by smtp.huawei.com (10.3.19.213) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 22 Nov 2018 18:49:52 +0800 Subject: Re: [PATCH 01/10] staging: erofs: fix `trace_erofs_readpage' position To: Greg Kroah-Hartman CC: , , Chao Yu , LKML , , Miao Xie References: <20181120143425.43637-1-gaoxiang25@huawei.com> <20181120143425.43637-2-gaoxiang25@huawei.com> <20181122101941.GC3189@kroah.com> From: Gao Xiang Message-ID: Date: Thu, 22 Nov 2018 18:49:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20181122101941.GC3189@kroah.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.151.23.176] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On 2018/11/22 18:19, Greg Kroah-Hartman wrote: > On Tue, Nov 20, 2018 at 10:34:16PM +0800, Gao Xiang wrote: >> `trace_erofs_readpage' should be placed in .readpage() >> rather than in the internal `z_erofs_do_read_page'. > Why? What happens with the code today? trace_erofs_readpage is used to trace .readpage() interface (it represents sync read) hook rather than its internal implementation z_erofs_do_read_page (which both .readpage() and .readpages() uses it). Chen Gong places the tracepoint to a wrong place by mistake. And we found it by our internal test using this tracepoint. > >> Fixes: 284db12cfda3 ("staging: erofs: add trace points for reading zipped data") > Should this get into 4.20-final? I think so, which is not very important but I think it should be fixed... Thanks, Gao Xiang > > thanks, > > greg k-h