search for: meta_us

Displaying 3 results from an estimated 3 matches for "meta_us".

Did you mean: meta_ac
2012 Apr 08
4
[PATCH] Revert "Btrfs: increase the global block reserve estimates"
...ons(+), 1 deletions(-) diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index a844204..ace5e8c 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -4205,7 +4205,7 @@ static u64 calc_global_metadata_size(struct btrfs_fs_info *fs_info) num_bytes += div64_u64(data_used + meta_used, 50); if (num_bytes * 3 > meta_used) - num_bytes = div64_u64(meta_used, 3) * 2; + num_bytes = div64_u64(meta_used, 3); return ALIGN(num_bytes, fs_info->extent_root->leafsize << 10); } -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-btrf...
2010 Apr 19
0
[PATCH 08/12] Btrfs: Introduce global metadata reservation
...bytes); } +/* + * helper to calculate size of global block reservation. + * the desired value is sum of space used by extent tree, + * checksum tree and root tree + */ +static u64 calc_global_metadata_size(struct btrfs_fs_info *fs_info) +{ + struct btrfs_space_info *sinfo; + u64 num_bytes; + u64 meta_used; + u64 data_used; + int csum_size = btrfs_super_csum_size(&fs_info->super_copy); +#if 0 + /* + * per tree used space accounting can be inaccuracy, so we + * can''t rely on it. + */ + spin_lock(&fs_info->extent_root->accounting_lock); + num_bytes = btrfs_root_used(&...
2012 Jan 03
10
arc_no_grow is set to 1 and never set back to 0
...es_hdr_miss = 0 l2_evict_lock_retry = 0 l2_evict_reading = 0 l2_abort_lowmem = 490 l2_cksum_bad = 0 l2_io_error = 0 l2_hdr_size = 0 MB memory_throttle_count = 0 meta_used = 499 MB meta_max = 1154 MB meta_limit = 0 MB arc_no_grow = 1 arc_tempreserve = 0 MB