Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e73f275 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Optimize locking in btrfs_next_leaf()



btrfs_next_leaf was using blocking locks when it could have been using
faster spinning ones instead.  This adds a few extra checks around
the pieces that block and switches over to spinning locks.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent c8c42864
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment