Re: [PATCH] btrfs: fix wrong offset to zero out range beyond isize

2021-03-08 Thread David Sterba
On Mon, Mar 08, 2021 at 05:20:17PM +0800, Qu Wenruo wrote: > [BUG] > Btrfs fails at generic/091 test case, with the following output: > > fsx -N 1 -o 128000 -l 50 -r PSIZE -t BSIZE -w BSIZE -Z -W > mapped writes DISABLED > Seed set to 1 > main: filesystem does not support fallocate

[PATCH] btrfs: fix wrong offset to zero out range beyond isize

2021-03-08 Thread Qu Wenruo
[BUG] Btrfs fails at generic/091 test case, with the following output: fsx -N 1 -o 128000 -l 50 -r PSIZE -t BSIZE -w BSIZE -Z -W mapped writes DISABLED Seed set to 1 main: filesystem does not support fallocate mode FALLOC_FL_COLLAPSE_RANGE, disabling! main: filesystem does not s