diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-03-12 20:12:45 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-03-24 16:14:28 -0400 |
commit | 89573b9c516b24af8a3b9958dd5afca8fa874e3d (patch) | |
tree | 77b622ea49234d3383882ed0050e8910b4d99adb /fs/btrfs/tree-log.c | |
parent | 66d7e85ea7c3628189d19b265495358f756cb463 (diff) | |
download | kernel_samsung_smdk4412-89573b9c516b24af8a3b9958dd5afca8fa874e3d.zip kernel_samsung_smdk4412-89573b9c516b24af8a3b9958dd5afca8fa874e3d.tar.gz kernel_samsung_smdk4412-89573b9c516b24af8a3b9958dd5afca8fa874e3d.tar.bz2 |
Btrfs: Only let very young transactions grow during commit
Commits are fairly expensive, and so btrfs has code to sit around for a while
during the commit and let new writers come in.
But, while we're sitting there, new delayed refs might be added, and those
can be expensive to process as well. Unless the transaction is very very
young, it makes sense to go ahead and let the commit finish without hanging
around.
The commit grow loop isn't as important as it used to be, the fsync logging
code handles most performance critical syncs now.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions