generic: drop caches while freeze

This's a bug reproducer for a downstream kernel, upstream linux has
fixed this issue "indirectly". When the superblock is frozen and
reclaim attempts to process certain inodes that require transactions
to break down, such as those with post-eof or COW fork blocks, a
deadlock might happen.

Signed-off-by: Murphy Zhou <>
Reviewed-by: Zorro Lang <>
Signed-off-by: Zorro Lang <>
2 files changed