help regarding ext4 extend and multiblock allocation

Mulyadi Santosa mulyadi.santosa at gmail.com
Thu Dec 29 06:52:38 EST 2011


Hi Swapnil...

On Thu, Dec 29, 2011 at 10:42, Swapnil Gaikwad <swapnilgaik72 at gmail.com> wrote:
> How the extend is different from block allocation?

The way I see extent is: it's like doing cluster allocation. Meaning,
you don't allocate it one by one, but as a whole.

For example, with extent size 1 MB and block size 4 KB, it means
filesystem allocate 256 blocks at once.

Although it sounds like multi block allocation or read ahead, I think
the underlying implementation is a bit different. Sorry, this is the
best I know

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list