Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933114Ab0LUAsV (ORCPT ); Mon, 20 Dec 2010 19:48:21 -0500 Received: from mga02.intel.com ([134.134.136.20]:34286 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754388Ab0LUAsS (ORCPT ); Mon, 20 Dec 2010 19:48:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,205,1291622400"; d="scan'208";a="689107365" Subject: Re: [concept & "good taste" review] persistent store From: Huang Ying To: Tony Luck Cc: Borislav Petkov , Linus Torvalds , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "tglx@linutronix.de" , "mingo@elte.hu" , "greg@kroah.com" , "akpm@linux-foundation.org" , David Miller , Alan Cox , Jim Keniston , Kyungmin Park , Geert Uytterhoeven In-Reply-To: References: <4d0662e511688484b3@agluck-desktop.sc.intel.com> <4D0BEE1F.7020008@zytor.com> <20101219091752.GA16150@liondog.tnic> <1292813234.8743.66.camel@yhuang-dev> Content-Type: text/plain; charset="UTF-8" Date: Tue, 21 Dec 2010 08:48:14 +0800 Message-ID: <1292892494.8743.76.camel@yhuang-dev> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 25 On Tue, 2010-12-21 at 01:19 +0800, Tony Luck wrote: > On Sun, Dec 19, 2010 at 6:47 PM, Huang Ying wrote: > > 8KB is about 100-200 lines message, sometimes it may be not enough for > > all necessary information. But in fact, we can use multiple ERST > > records to save one kernel message dumping. So the real limitation is > > just total storage capacity. > > We can - but it will be a bit messy within my pstore + platform driver > framework (I'd have to have erst tell pstore that it could handle some > larger size, 2x or 3x the actual record size and then break a write > into pieces. Presumably re-assemble on the read side too). If persistent storage driver (such as ERST) implements kmsg_dumper by themselves, that should be easier to use multiple records for one message dumping request. Best Regards, Huang Ying -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/