Re: [PATCH] fs/btrfs: fix a bug that U-boot fs btrfs implementation doesn't handle NO_HOLE feature correctly

2022-01-18 Thread Tom Rini
On Mon, Dec 27, 2021 at 02:11:14PM +0800, Qu Wenruo wrote: > [BUG] > When passing a btrfs with NO_HOLE feature to U-boot, and if one file > contains holes, then the hash of the file is not correct in U-boot: > > # mkfs.btrfs -f test.img # Since v5.15, mkfs defaults to NO_HOLES > # mount

Re: [PATCH] fs/btrfs: fix a bug that U-boot fs btrfs implementation doesn't handle NO_HOLE feature correctly

2021-12-27 Thread Qu Wenruo
On 2021/12/27 14:11, Qu Wenruo wrote: [BUG] When passing a btrfs with NO_HOLE feature to U-boot, and if one file contains holes, then the hash of the file is not correct in U-boot: # mkfs.btrfs -f test.img # Since v5.15, mkfs defaults to NO_HOLES # mount test.img /mnt/btrfs #

[PATCH] fs/btrfs: fix a bug that U-boot fs btrfs implementation doesn't handle NO_HOLE feature correctly

2021-12-26 Thread Qu Wenruo
[BUG] When passing a btrfs with NO_HOLE feature to U-boot, and if one file contains holes, then the hash of the file is not correct in U-boot: # mkfs.btrfs -f test.img # Since v5.15, mkfs defaults to NO_HOLES # mount test.img /mnt/btrfs # xfs_io -f -c "pwrite 0 4k" -c "pwrite 8k 4k"