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 /fs/xattr.c | |
parent | 4434c33c7f233a7ee5dcaf357fbf795818ea8861 (diff) | |
download | blackbird-op-linux-24ab9cd85c11bccacbd0cce7f8e1aebd4930404c.tar.gz blackbird-op-linux-24ab9cd85c11bccacbd0cce7f8e1aebd4930404c.zip |
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 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions