diff options
author | 2013-02-28 10:04:33 +0000 | |
---|---|---|
committer | 2013-02-28 13:33:54 -0500 | |
commit | d5c1207017cd8387b4d3224dd7ab6cf5cd7f1c9a (patch) | |
tree | 7208d1c89aa625fa6eb349fdafa2e49a00bbe078 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: remove unnecessary dget_parent/dput when creating the pending snapshot (diff) | |
download | linux-dev-d5c1207017cd8387b4d3224dd7ab6cf5cd7f1c9a.tar.xz linux-dev-d5c1207017cd8387b4d3224dd7ab6cf5cd7f1c9a.zip |
Btrfs: fix wrong reserved space in qgroup during snap/subv creation
There are two problems in the space reservation of the snapshot/
subvolume creation.
- don't reserve the space for the root item insertion
- the space which is reserved in the qgroup is different with
the free space reservation. we need reserve free space for
7 items, but in qgroup reservation, we need reserve space only
for 3 items.
So we implement new metadata reservation functions for the
snapshot/subvolume creation.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions