]> 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)
commite8e2dc5c8bdc0c02d4100f6fa663fa78a72f9722
tree7a3796ca5a384b2cff5900e0972d31d0af5a5b24
parentb4a35eeadbe40ca2a201e78fcc9d7eb381b01011
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