]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Update stats when allocating from a cluster
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 9 Nov 2010 06:55:34 +0000 (14:55 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 26 Jan 2011 17:04:46 +0000 (01:04 +0800)
commitf957718a7e535eaa572ffb1470fcdea60f39f155
tree4fdb07b18c010f132d10b074bff60226b6517a08
parent308a4c9bf151d3a7122465d531fc54221e370230
btrfs: Update stats when allocating from a cluster

When allocating extent entry from a cluster, we should update
the free_space and free_extents fields of the block group.

Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/free-space-cache.c