From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: LogFS take five Date: Wed, 08 Aug 2007 19:27:17 +0300 Message-ID: <1186590437.19606.38.camel@sauron> References: <20070808161234.GB15319@lazybastard.org> Reply-To: dedekind@infradead.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, akpm@osdl.org, David Woodhouse , Arnd Bergmann , Thomas Gleixner To: =?ISO-8859-1?Q?J=F6rn?= Engel Return-path: In-Reply-To: <20070808161234.GB15319@lazybastard.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi J=C3=B6rn, On Wed, 2007-08-08 at 18:12 +0200, J=C3=B6rn Engel wrote: > It has been a while, mainly because I found a bunch of races and didn= 't > want to publish anything before those were fixed. Patch is still > against 2.6.21 and just for review. I'm very interested how do you account free/dirty space in LogFS: * When you need to write new data, how do you select the place where to write? * When you run out of space, how do select find the segment to garbage-collect? =46or any given segment (or eraseblock), how do you find amount of free and dirty space in it? --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC)