All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Monteiro de Carvalho <felipemonteiro.carvalho@gmail.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Beginner questions about ext4
Date: Wed, 10 Jul 2013 18:13:08 +0200	[thread overview]
Message-ID: <CACyNnZPoAt2VNgGfRwzcvVdJHF8xKhE93zS7dGrmodg9Lm=cNQ@mail.gmail.com> (raw)
In-Reply-To: <20130701165524.GB23896@thunk.org>

On Mon, Jul 1, 2013 at 6:55 PM, Theodore Ts'o <tytso@mit.edu> wrote:
> I'm not sure whant you mean by "flexible groups".  There is no such
> concept.

This wiki says that flex_bg stands for "Flexible Block Groups":

https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Flexible_Block_Groups

>> If not, I wonder how a reader will recognize which groups were merged ...
>
> And block groups don't get merged.
>
> You should think of a flex block group as a collection of block
> groups.  (Just as a number of provinces make up country, or a
> collection of towns make up a county, and a number of counties make up
> a province.)

I'll try to be more specific.

When I am reading a ext4 file system and I find that there exists an
inode /etc/ with groupnr 32 and nodenr 260099, will this group 32 be
in the same position (distance in bytes from the beginning of the
disk) as in ext3? Or will the flex_bg make the first 16 groups fit
into the size that previously 1 group utilized? So group 32 in ext 4
would be in the physical position of group 2 in ext3.

If I have s_log_groups_per_flex=4 (seams the be the most popular
value), then each and every set of 16 groups will be groups into
flex_bgs or only some are grouped into flex_bgs?

Basically I have a reader for ext3 and I added EXTENT support and it
works now fine for the group 0, but for higher groups it is not
working and I'm trying to find out what I need to change ... I'm
trying to find what physically changed here... but it is a hard
battle. Much harder than EXTENT support was.

thanks,
-- 
Felipe Monteiro de Carvalho

  reply	other threads:[~2013-07-10 16:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12 12:20 Beginner questions about ext4 Felipe Monteiro de Carvalho
2013-06-23  6:29 ` Felipe Monteiro de Carvalho
2013-06-23 11:59   ` Theodore Ts'o
2013-07-01 15:23     ` Felipe Monteiro de Carvalho
2013-07-01 16:55       ` Theodore Ts'o
2013-07-10 16:13         ` Felipe Monteiro de Carvalho [this message]
2013-07-10 17:24           ` Theodore Ts'o
2013-07-11  7:37             ` Felipe Monteiro de Carvalho
2013-07-11 15:23               ` Theodore Ts'o
2013-07-15 10:20     ` Felipe Monteiro de Carvalho
2013-07-15 13:43       ` Theodore Ts'o
2013-07-15 16:09         ` Felipe Monteiro de Carvalho
2013-07-15 16:37           ` Theodore Ts'o
2013-07-15 17:55             ` Felipe Monteiro de Carvalho
2013-07-15 18:10               ` Theodore Ts'o
2013-07-15 18:18                 ` Felipe Monteiro de Carvalho
2013-07-15 18:59                   ` Theodore Ts'o
2013-07-16  6:14                     ` Felipe Monteiro de Carvalho

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='CACyNnZPoAt2VNgGfRwzcvVdJHF8xKhE93zS7dGrmodg9Lm=cNQ@mail.gmail.com' \
    --to=felipemonteiro.carvalho@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.