mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-27 06:04:30 +08:00
fdbab93ca5
For "btrfstune --csum", currently we do the following operations in just one transaction for each: - Delete old data csums - Change new data csums objectid Both operation can modify up to GiB or even TiB level of metadata, doing them in just one transaction is definitely going to cause problems. This patch adds a leaf number based threshold (32 leaves), after modifying/deleting this many leaves, we commit a transaction to avoid huge amount of dirty leaves piling up. Signed-off-by: Qu Wenruo <wqu@suse.com> |
||
---|---|---|
.. | ||
change-csum.c | ||
change-metadata-uuid.c | ||
change-uuid.c | ||
convert-bgt.c | ||
main.c | ||
quota.c | ||
seeding.c | ||
tune.h |