]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ext4: fix COLLAPSE RANGE test for bigalloc file systems
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 29 Jul 2014 14:45:31 +0000 (10:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jul 2014 14:45:31 +0000 (10:45 -0400)
commitee98fa3a8b148a234600a20f7cdc2b4b37f38083
tree9eebef51b71c1a2700c6c3a66a62af95569d4e58
parent40b163f1c45f52752677e66d2fd273dbfd273a22
ext4: fix COLLAPSE RANGE test for bigalloc file systems

Blocks in collapse range should be collapsed per cluster unit when
bigalloc is enable. If bigalloc is not enable, EXT4_CLUSTER_SIZE will
be same with EXT4_BLOCK_SIZE.

With this bug fixed, patch enables COLLAPSE_RANGE for bigalloc, which
fixes a large number of xfstest failures which use fsx.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c