From 8e73f275011b3264a87339fd9f1690e944e381c9 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Fri, 3 Apr 2009 10:14:18 -0400 Subject: [PATCH] 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 --- Reading git-format-patch failed