Displaying 1 result from an estimated 1 matches for "cached_eb".
Did you mean:
cached_dev
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...es[i]) - 1)
+ return 1;
+ if (i == 0 &&
+ p->slots[i] != btrfs_header_nritems(p->nodes[i]))
+ return 1;
+ }
+ return 0;
+}
+
+static int btrfs_search_cached_extent_buffer(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root,
+ struct extent_buffer *cached_eb,
+ struct btrfs_key *key,
+ struct btrfs_path *p,
+ int ins_len, int cow)
+{
+ int ret;
+ int level;
+ int lowest_unlock = 1;
+ int write_lock_level = 0;
+ int min_write_lock_level = 0;
+ int root_lock;
+ u8 lowest_level = 0;
+
+ if (cow && (p->keep_locks || p-...