Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4982409ybl; Wed, 22 Jan 2020 08:11:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwcECAr21DRJCh/PogoL+0FdCEky1EPWDqOIR9gc5pWjZ4sbVLVlNQNmoKCnckqJmSP/teX X-Received: by 2002:aca:45c1:: with SMTP id s184mr7441440oia.158.1579709466446; Wed, 22 Jan 2020 08:11:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579709466; cv=none; d=google.com; s=arc-20160816; b=VWdBQzh+FRYVgKApeVRSEoyRl3HYPRA7e5BbDdzDw4biZ44DMZd9KpVD4/+WewgUzl 7BQOjH3CvOgNPH82mMAHcJ2nxDMy3d2Fb37isW0IMW1rOz4HVy+7LU6JeYTZEOnFRw+Y hSHl0sjSBUJTofW10b8x/Ey/9FKyxbtqoUSuXBuwiNkXLD26wVXnFUZyPOyAeXNwZItD EMSFk1ufJlzvx6wQ3Li8PAJbPPHfXXBc9GP0NeB+InQ4U0dWAhH0B0Et1JQ7u3lxnQZU F7rBJfe+H0beo0//lg9vdygcZ80Xm2Bf0xHjLpLla8ihpN4/zsCXWC3x+bOjKJMIabBK xASA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=b27aDBY4y/7/Q6nm414arkj4keuFN7/ZdwTBl4SydLg=; b=Axx7nG+8nNZ/p4UxmyP9Q3YAHChYzbOHgy7YHMVpZoqoq4ah+RX/Ixdk1rxI0OVPKN jW68tKftM0KcLMr/PPmIJGFiEwNoENg9bly+E9+t7HTvXdVPFuIB9ekyJCJjZ7/xDeLL AosUnTPMyb680jy3qfQFKeyRQZwb/T7vaSVOmC9nPI0YAz7tdIf0ZN8BVpzG2lUfUv1a ZNEZtBd/4ElElJsqS+/uBvgnukTgfRqcPY1OPw3NXuSdYVta+MgLTtQEM3i0kgClZkgQ UQHTlSglZ2u+SUV3fXu3Tr6vwZYWdFehY8R6u+EJehGkuvfjDMR+j1wnWN5653MxOPFx z3aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=c0znPXb8; 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 n18si25148778otf.285.2020.01.22.08.10.54; Wed, 22 Jan 2020 08:11:06 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=c0znPXb8; 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 S1729107AbgAVQIm (ORCPT + 99 others); Wed, 22 Jan 2020 11:08:42 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:44196 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728609AbgAVQIl (ORCPT ); Wed, 22 Jan 2020 11:08:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=b27aDBY4y/7/Q6nm414arkj4keuFN7/ZdwTBl4SydLg=; b=c0znPXb8/MVKdiAmIXi2H2dtb VhINTEL9zM48Q+iEMmYPfSxCWAQWJhY1kfdLnAVX+t3i+gY09dDNwr/AF5HAQfGibXUcqZ7T01Ovg t/l2baN3AGIkuL4r/CtHKyTFnU7s16ASxTXK3Zob3nacfBhJhcP9Adk3/6orhtxk7Y4Wo39xt4RMx br5/iJJ+TR9MPWYsbis1lnE378k6hac7wi096v1molBwvcva2ztUUAUk8r4UdebYkr8L8VH7HD/xC Tx4ew3ySHhsbmQWo7GEVdIKiTP8N615mfPqU9y+jxOE41GNmfDQWmoZFLqnWVPCZaYX9LT23YPW79 4/soRaf9g==; Received: from [2601:1c0:6280:3f0::ed68] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iuIYX-0007T4-6F; Wed, 22 Jan 2020 16:08:37 +0000 Subject: Re: [PATCH v1 06/11] Documentation: pstore/blk: blkoops: create document for pstore_blk To: liaoweixiong , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , Jonathan Corbet , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , Greg Kroah-Hartman , Jonathan Cameron Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org References: <1579482233-2672-1-git-send-email-liaoweixiong@allwinnertech.com> <1579482233-2672-7-git-send-email-liaoweixiong@allwinnertech.com> <40d7f57a-119e-e51f-99a5-63e85ab5ab91@infradead.org> <3337f687-a668-c058-178b-a1438641c519@allwinnertech.com> <597e2b49-667a-490e-91b6-641ca25401d8@infradead.org> <6d94b9d5-abef-db5e-1c80-00ea8c1b0003@allwinnertech.com> From: Randy Dunlap Message-ID: <325251e8-79e6-ed07-f5e0-b8c149757766@infradead.org> Date: Wed, 22 Jan 2020 08:08:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <6d94b9d5-abef-db5e-1c80-00ea8c1b0003@allwinnertech.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/22/20 7:01 AM, liaoweixiong wrote: > On 2020/1/21 下午11:34, Randy Dunlap wrote: >> On 1/21/20 12:19 AM, liaoweixiong wrote: >>> hi Randy Dunlap, >>> >>> On 2020/1/21 2:36 PM, Randy Dunlap wrote: >>>> On 1/20/20 9:23 PM, liaoweixiong wrote: >>>>> hi Randy Dunlap, >>>>> >>>>> On 2020/1/21 PM12:13, Randy Dunlap wrote: >>>>>> Hi, >>>>>> >>>>>> I have some documentation comments for you: >>>>>> >>>>>> >>>>>> On 1/19/20 5:03 PM, WeiXiong Liao wrote: >>>>>>> The document, at Documentation/admin-guide/pstore-block.rst, tells us >>>>>>> how to use pstore/blk and blkoops. >>>>>>> >>>>>>> Signed-off-by: WeiXiong Liao >>>>>>> --- >>>>>>>    Documentation/admin-guide/pstore-block.rst | 278 +++++++++++++++++++++++++++++ >>>>>>>    MAINTAINERS                                |   1 + >>>>>>>    fs/pstore/Kconfig                          |   2 + >>>>>>>    3 files changed, 281 insertions(+) >>>>>>>    create mode 100644 Documentation/admin-guide/pstore-block.rst >>>>>>> >>>>>>> diff --git a/Documentation/admin-guide/pstore-block.rst b/Documentation/admin-guide/pstore-block.rst >>>>>>> new file mode 100644 >>>>>>> index 000000000000..58418d429c55 >>>>>>> --- /dev/null >>>>>>> +++ b/Documentation/admin-guide/pstore-block.rst >>>>>>> +Compression and header >>>>>>> +---------------------- >>>>>>> + >>>>>>> +Block device is large enough for uncompressed dmesg data. Actually we do not >>>>>>> +recommend data compression because pstore/blk will insert some information into >>>>>>> +the first line of dmesg data. For example:: >>>>>>> + >>>>>>> +        Panic: Total 16 times >>>>>>> + >>>>>>> +It means that it's the 16th times panic log since the first booting. Sometimes >>>>>> >>>>>>                                  time of a panic log since ... >>>>>> >>>>> >>>>> Should it be like this? >>>>> It means the time of a panic log since the first booting. >>>> >>>> That sounds like clock time, not the number of instances or occurrences. >>>> >>> >>> It is an oops/panic counter too. How about this? >>> >>> It means that it's OOPS/PANIC for the 16th time since the first booting. >> >>                                                    since the last booting {or boot}. >> > > Not the last booting but the first booting. This is the number of > triggers since the first time the system was installed. OK, so it's a persistent counter. Thanks for the clarification. -- ~Randy