From: Josef Bacik Date: Thu, 6 Feb 2014 21:06:06 +0000 (-0500) Subject: Btrfs: balance delayed inode updates X-Git-Tag: v3.15-rc1~96^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c581afc8db4e9aaa8af2246bb72c1bf72825014d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed