Home
last modified time | relevance | path

Searched hist:"24 cdc847d9842bdfd85a005ebc39050bcbc7acba" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dctree.cdiff 24cdc847d9842bdfd85a005ebc39050bcbc7acba Mon Jul 28 13:34:35 CDT 2014 Filipe Manana <fdmanana@suse.com> Btrfs: unlock nodes earlier when inserting items in a btree

In ctree.c:setup_items_for_insert(), we can unlock all nodes in our
path before we process the leaf (shift items and data, adjust data
offsets, etc). This allows for better btree concurrency, as we're
often holding a write lock on at least the node at level 1.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>