Regarding ext4 allocation and deallocation of blocks

Mulyadi Santosa mulyadi.santosa at gmail.com
Mon Jun 11 07:10:53 EDT 2012


Hi.... :)

On Sun, Jun 10, 2012 at 12:19 AM, Akshay Nehe <akshaynehe785 at gmail.com> wrote:
> I again open file for modification( file with 9217 block) and new
> block is 8708 but this time kernel used ext4_free_blocks to deallocate
> 9217 block. What is the reason behind this behaviour? Please help me
> in this issue, if anyone familiar with such behaviour.

So, in other word, it deallocate current blocks and "move" onto new
blocks,right?

sounds like a way to do wear levelling in filesystem level to me..

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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



More information about the Kernelnewbies mailing list