diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-04-03 16:14:18 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-03 16:14:18 +0200 |
commit | 8e73f275011b3264a87339fd9f1690e944e381c9 (patch) | |
tree | 865900b191ed0e01f10d2f87e28c9e2ed56e5722 /fs/btrfs/free-space-cache.c | |
parent | Btrfs: break up btrfs_search_slot into smaller pieces (diff) | |
download | linux-8e73f275011b3264a87339fd9f1690e944e381c9.tar.xz linux-8e73f275011b3264a87339fd9f1690e944e381c9.zip |
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions