Re: [PATCH v2] ocfs2: clear extent cache after moving/defragmenting extents

From: Deepanshu Kartikey
Date: Thu Oct 09 2025 - 22:01:12 EST


Hi Andrew,

Thank you for picking this up!

For the Fixes: tag:

Fixes: 53069d4e76954e2e63c1b3c501051c6fbcf7298c ("Ocfs2/move_extents: move/defrag extents within a certain range.")

This commit introduced __ocfs2_move_extents_range() with the while loop that
calls ocfs2_get_clusters() (which caches extent data) followed by
ocfs2_move_extent()/ocfs2_defrag_extent() (which modify disk), but without
invalidating the extent cache afterwards.

Thanks,
Deepanshu