Regarding ext4 allocation and deallocation of blocks

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

Hi.... :)

On Sun, Jun 10, 2012 at 12:19 AM, Akshay Nehe <akshaynehe785 at> 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

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


Mulyadi Santosa
Freelance Linux trainer and consultant


More information about the Kernelnewbies mailing list