summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-03-16 10:59:57 -0400
committerChris Mason <chris.mason@oracle.com>2009-03-24 16:14:51 -0400
commita4b6e07d1a8a9b907e82b9acbf51a026fbb9301c (patch)
treefb93f38d01812a6f8af8dbefd4f769460afc997e /fs/btrfs/tree-log.c
parent5d13a98f3bf5afc1113f7db184c627a44659bc29 (diff)
downloadop-kernel-dev-a4b6e07d1a8a9b907e82b9acbf51a026fbb9301c.zip
op-kernel-dev-a4b6e07d1a8a9b907e82b9acbf51a026fbb9301c.tar.gz
Btrfs: limit balancing work while flushing delayed refs
The delayed reference mechanism is responsible for all updates to the extent allocation trees, including those updates created while processing the delayed references. This commit tries to limit the amount of work that gets created during the final run of delayed refs before a commit. It avoids cowing new blocks unless it is required to finish the commit, and so it avoids new allocations that were not really required. The goal is to avoid infinite loops where we are always making more work on the final run of delayed refs. Over the long term we'll make a special log for the last delayed ref updates as well. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud