xfs: count free space btree blocks when scrubbing pre-lazysbcount fses
mainline-inclusion from mainline-v5.12-rc4 commit e147a756 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4KIAO CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e147a756ab263f9d10eafd08b79b9fac1b08e56c ------------------------------------------------- Since agf_btreeblks didn't exist before the lazysbcount feature, the fs summary count scrubber needs to walk the free space btrees to determine the amount of space being used by those btrees. Signed-off-by:Darrick J. Wong <djwong@kernel.org> Reviewed-by:
Brian Foster <bfoster@redhat.com> Reviewed-by:
Gao Xiang <hsiangkao@redhat.com> Signed-off-by:
Guo Xuenan <guoxuenan@huawei.com> Reviewed-by:
Lihong Kou <koulihong@huawei.com> Reviewed-by:
Zhang Yi <yi.zhang@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment