]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't steal the reserved space from the global reserve if their space type...
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 13 May 2013 13:55:11 +0000 (13:55 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:25 +0000 (21:40 -0400)
commit633d11786390fd5509bb0524c2da7419703b3618
tree9c892f0bbe0d393d2e6393a131d88498307a3691
parent35a2697ff0abb0d7fd3a64a006e0b2f5cf7e323c
Btrfs: don't steal the reserved space from the global reserve if their space type is different

If the type of the space we need is different with the global reserve, we
can not steal the space from the global reserve, because we can not allocate
the space from the free space cache that the global reserve points to.

Cc: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c