Re: [PATCH] btrfs-progs: lowmem-check: Fix false alert on dropped leaf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 18, 2017 at 01:21:07PM +0800, Qu Wenruo wrote:
> For btrfs-progs test case 021-partially-dropped-snapshot-case, if the
> first leaf is already dropped, btrfs check low-memory mode will report
> false alert:
> 
> checking fs roots
> checksum verify failed on 29917184 found E4E3BDB6 wanted 00000000
> checksum verify failed on 29917184 found E4E3BDB6 wanted 00000000
> checksum verify failed on 29917184 found E4E3BDB6 wanted 00000000
> checksum verify failed on 29917184 found E4E3BDB6 wanted 00000000
> 
> This is caused by we are calling check_fs_first_inode() function,
> unlike the rest part of check_fs_root_v2(), it doesn't have enough check
> on dropping progress, and caused the false alert.
> 
> Fix it by checking dropping progress before searching slot.
> 
> Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux