Re: [PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents

From: Theodore Ts'o
Date: Sat Jan 07 2017 - 16:28:03 EST


On Fri, Jan 06, 2017 at 09:26:01PM +0100, Roman Pen wrote:
> Inside ext4_ext_shift_extents() function ext4_find_extent() is called
> without EXT4_EX_NOCACHE flag, which should prevent cache population.
>
> This leads to oudated offsets in the extents tree and wrong blocks
> afterwards.
>
> Patch fixes the problem providing EXT4_EX_NOCACHE flag for each
> ext4_find_extents() call inside ext4_ext_shift_extents function.
>
> Signed-off-by: Roman Pen <roman.penyaev@xxxxxxxxxxxxxxxx>

Thanks, applied.

- Ted