You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Btrfs: skip building backref tree for uuid and quota tree when doing balance relocation
Quota tree and UUID Tree is only cowed, they can not be snapshoted. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
committed by
Chris Mason
parent
c974c4642f
commit
6646374863
@@ -571,7 +571,9 @@ static int is_cowonly_root(u64 root_objectid)
|
||||
root_objectid == BTRFS_CHUNK_TREE_OBJECTID ||
|
||||
root_objectid == BTRFS_DEV_TREE_OBJECTID ||
|
||||
root_objectid == BTRFS_TREE_LOG_OBJECTID ||
|
||||
root_objectid == BTRFS_CSUM_TREE_OBJECTID)
|
||||
root_objectid == BTRFS_CSUM_TREE_OBJECTID ||
|
||||
root_objectid == BTRFS_UUID_TREE_OBJECTID ||
|
||||
root_objectid == BTRFS_QUOTA_TREE_OBJECTID)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user