public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Russ Dill <russ.dill@gmail.com>
Cc: Linux-MTD Mailing List <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS in-place vs out-of-place GC
Date: Thu, 02 Sep 2010 14:45:48 +0300	[thread overview]
Message-ID: <1283427948.3085.19.camel@brekeke> (raw)
In-Reply-To: <AANLkTimuZZ-B1sO1jHAu_gjwa8Gb_WXKowORNvWHMmcT@mail.gmail.com>

Hi,

On Wed, 2010-09-01 at 09:08 -0700, Russ Dill wrote:
> I'm doing a bit of research on UBIFS and something I read from a few
> sources has me confused regarding garbage collection:
> 
> http://osl.sed.hu/~havasi/ubifs/#gc

You should contact Szeged guys and ask them to remove obsolete
information.

For much more up-to-date information, see
http://linux-mtd.infradead.org/doc/ubifs.html#L_documentation

> Looking at the source, I can find the code that does the out of place
> updates, but I can't find any references to in place updates or
> displacement tables. What gives?

We do not have displacement tables, that was some old idea which we
never implemented.

We do not have in-place GC in UBIFS. But we have so-called "in-the-gaps"
method which we use during commit to write the FS index when we do not
have extra empty LEBs. In the code it corresponds to the
'layout_in_gaps()' function.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)

  reply	other threads:[~2010-09-02 11:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 16:08 UBIFS in-place vs out-of-place GC Russ Dill
2010-09-02 11:45 ` Artem Bityutskiy [this message]
2010-09-02 23:06   ` Russ Dill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283427948.3085.19.camel@brekeke \
    --to=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=russ.dill@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox