Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755581Ab2HQNno (ORCPT ); Fri, 17 Aug 2012 09:43:44 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:47834 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754955Ab2HQNng (ORCPT ); Fri, 17 Aug 2012 09:43:36 -0400 Date: Fri, 17 Aug 2012 15:43:32 +0200 From: Richard Weinberger To: artem.bityutskiy@linux.intel.com Cc: nyoushchenko@mvista.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, Heinz.Egger@linutronix.de, thomas.wucher@linutronix.de, shmulik.ladkani@gmail.com, tglx@linutronix.de, tim.bird@am.sony.com, Marius.Mazarel@ugal.ro Subject: Re: UBI fastmap updates Message-ID: <20120817154332.3496d709@spider.haslach.nod.at> In-Reply-To: <1345210884.27859.90.camel@sauron.fi.intel.com> References: <1341836323-43916-1-git-send-email-richard@nod.at> <1345209115.27859.84.camel@sauron.fi.intel.com> <20120817153348.7a0a50a0@spider.haslach.nod.at> <1345210884.27859.90.camel@sauron.fi.intel.com> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 30 Am Fri, 17 Aug 2012 16:41:24 +0300 schrieb Artem Bityutskiy : > On Fri, 2012-08-17 at 15:33 +0200, Richard Weinberger wrote: > > Am Fri, 17 Aug 2012 16:11:55 +0300 > > schrieb Artem Bityutskiy : > > > We do not do anything like this in UBI because UBI does not need > > > this, it does not have any complex data structures on the media. > > > > > > With fastmap - I am unsure. I think it is not a problem, because > > > probably you never append more data, you just re-write everything, > > > right? > > > > Yep, the on-flash fastmap is immutable. > > Here the question is - if you have PEB containing fastmap data, > half-filled. Will you ever add more data there to the empty space in > the PEB or not? > No, data is never added to a half-filled PEB. Fastmap does not share PEBs with other sub-systems by design. Thanks, //richard -- 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/