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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment