diff options
author | 2014-02-06 16:06:06 -0500 | |
---|---|---|
committer | 2014-03-10 15:15:52 -0400 | |
commit | c581afc8db4e9aaa8af2246bb72c1bf72825014d (patch) | |
tree | 2f1f68385417065407d6c17fc348866f5142bf7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add simple debugfs interface (diff) | |
download | linux-dev-c581afc8db4e9aaa8af2246bb72c1bf72825014d.tar.xz linux-dev-c581afc8db4e9aaa8af2246bb72c1bf72825014d.zip |
Btrfs: balance delayed inode updates
While trying to reproduce a delayed ref problem I noticed the box kept falling
over using all 80gb of my ram with btrfs_inode's and btrfs_delayed_node's.
Turns out this is because we only throttle delayed inode updates in
btrfs_dirty_inode, which doesn't actually get called that often, especially when
all you are doing is creating a bunch of files. So balance delayed inode
updates everytime we create a new inode. With this patch we no longer use up
all of our ram with delayed inode updates. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions