From: Filipe Manana Date: Mon, 28 Jul 2014 18:34:35 +0000 (+0100) Subject: Btrfs: unlock nodes earlier when inserting items in a btree X-Git-Tag: fixes-against-v3.18-rc2~120^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24cdc847d9842bdfd85a005ebc39050bcbc7acba;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed