]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: pick up the code for the item number calculation in flush_space()
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 4 Nov 2013 15:13:22 +0000 (23:13 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:13:23 +0000 (22:13 -0500)
commit65e5be921227418303adb88ff0228cfef3349c03
tree7a3796ca5a384b2cff5900e0972d31d0af5a5b24
parentd7c3fa88b3db508700e55c84cc22a55114c0e289
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>
fs/btrfs/extent-tree.c