diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-05-13 13:55:12 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-17 21:40:26 -0400 |
commit | d88033dbf4c23279b012725876f1e164e09644ff (patch) | |
tree | 97954bb46f3bbc62e85edd016bc25f6f9e48f89f /fs/filesystems.c | |
parent | 5881cfc924c8143dbc3e1f343516fc6527eb8311 (diff) |
Btrfs: update the global reserve if it is empty
Before applying this patch, we reserved the space for the global reserve
by the minimum unit if we found it is empty, it was unreasonable and
inefficient, because if the global reserve space was depleted, it implied
that the size of the global reserve was too small. In this case, we shoud
update the global reserve and fill it.
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>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions