]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't run delayed nodes again after all nodes flush
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 26 Dec 2013 05:07:02 +0000 (13:07 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:06 +0000 (13:20 -0800)
commit11f55a2387c51e1d7e8ec5351629d987b81cb1fc
treedcde21cfbc75e43c145b171a0f16355158b7d20f
parent881d4d510bfdf75faf7502639edb8313e452faae
Btrfs: don't run delayed nodes again after all nodes flush

If the number of the delayed items is greater than the upper limit, we will
try to flush all the delayed items. After that, it is unnecessary to run
them again because they are being dealt with by the wokers or the number of
them is less than the lower limit.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/delayed-inode.c