diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-24 14:51:30 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:41:59 -0400 |
commit | 24ab9cd85c11bccacbd0cce7f8e1aebd4930404c (patch) | |
tree | 2ace993dd54bb6dd94fdd4c0cb03813c6bf4c6a3 /samples/kobject | |
parent | 4434c33c7f233a7ee5dcaf357fbf795818ea8861 (diff) |
Btrfs: Raise thresholds for metadata writeback
Btrfs metadata writeback is fairly expensive. Once a tree block is written
it must be cowed before it can be changed again. The btree writepages
code has a threshold based on a count of dirty btree bytes which is
updated as IO is sent out.
This changes btree_writepages to skip the writeout if there are less
than 32MB of dirty bytes from the btrees, improving performance
across many workloads.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions