On 11/4/20 6:13 AM, fdmanana@xxxxxxxxxx wrote:
From: Filipe Manana <fdmanana@xxxxxxxx> Test that after doing a memory mapped write to an empty file, a call to stat(2) reports a non-zero number of used blocks. This is motivated by a bug in btrfs where the number of blocks used does not change. It currenly fails on btrfs and it is fixed by a patch that has the following subject: "btrfs: fix missing delalloc new bit for new delalloc ranges" Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>
Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef