Displaying 1 result from an estimated 1 matches for "blockprt".
Did you mean:
blocker
2012 May 27
0
[RFC PATCH] Decrease Metadata Fragment Using A Caterpillar Band Method
...);
+ eb = radix_tree_lookup(&tree->buffer, cur >> PAGE_CACHE_SHIFT);
+ if (eb)
+ return 0;
+ rcu_read_unlock();
+ }
+
+ return 1;
+}
+
+static noinline struct extent_buffer *__btrfs_grab_cater_block(
+ struct btrfs_trans_handle *trans,
+ struct btrfs_root *root,
+ u64 blockprt, u32 blocksize,
+ u64 parent, u64 root_objectid,
+ struct btrfs_disk_key *key, int level,
+ int for_cow, u8 index)
+{
+ struct btrfs_key ins;
+ struct extent_buffer *buf;
+ u64 flags = 0;
+ int ret;
+ u8 factor = root->fs_info->cater_factor;
+
+ if (factor < 2)
+ return NULL;...