diff options
| author | Filipe Manana <fdmanana@suse.com> | 2014-07-28 19:34:35 +0100 |
|---|---|---|
| committer | Chris Mason <clm@fb.com> | 2014-09-17 13:37:55 -0700 |
| commit | 24cdc847d9842bdfd85a005ebc39050bcbc7acba (patch) | |
| tree | 5565771ecb17b466504cf550e7336d1becd6e0f7 /fs/btrfs/dev-replace.c | |
| parent | btrfs: use IS_ALIGNED() for assertion in btrfs_lookup_csums_range() for simpl... (diff) | |
| download | linux-24cdc847d9842bdfd85a005ebc39050bcbc7acba.tar.gz linux-24cdc847d9842bdfd85a005ebc39050bcbc7acba.zip | |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
