commit | 18cd8ea6df32e72548a4b055cba54d1a898c81e5 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Mon Nov 04 23:13:22 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Nov 11 22:13:23 2013 -0500 |
tree | 7a3796ca5a384b2cff5900e0972d31d0af5a5b24 | |
parent | 38c135af8e22baf2ef3ebf9b213e398997a90946 [diff] |
Btrfs: pick up the code for the item number calculation in flush_space() This patch picked up the code that was used to calculate the number of the items for which we need reserve space, and we will use it in the next patch. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>