On 4/6/20 6:51 AM, fdmanana@xxxxxxxxxx wrote:
From: Filipe Manana <fdmanana@xxxxxxxx> We have a bug in the current kernel merge window (for 5.7) that results in data loss when cloning an inline extent into a new file (or an empty file. This change adds a test for such case into the existing test case btrfs/205, because it's the test case that tests all the supported scenarios for cloning inline extents in btrfs. The btrfs patch for the linux kernel that fixes the regression has the following sibject: "Btrfs: fix lost i_size update after cloning inline extent" Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>
Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef