diff options
Diffstat (limited to 'fs/btrfs/locking.c')
-rw-r--r-- | fs/btrfs/locking.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c index e30aa6e2958f..39bae7761db6 100644 --- a/fs/btrfs/locking.c +++ b/fs/btrfs/locking.c | |||
@@ -31,9 +31,10 @@ | |||
31 | * difference in almost every workload, but spinning for the right amount of | 31 | * difference in almost every workload, but spinning for the right amount of |
32 | * time needs some help. | 32 | * time needs some help. |
33 | * | 33 | * |
34 | * In general, we want to spin as long as the lock holder is doing btree searches, | 34 | * In general, we want to spin as long as the lock holder is doing btree |
35 | * and we should give up if they are in more expensive code. | 35 | * searches, and we should give up if they are in more expensive code. |
36 | */ | 36 | */ |
37 | |||
37 | int btrfs_tree_lock(struct extent_buffer *eb) | 38 | int btrfs_tree_lock(struct extent_buffer *eb) |
38 | { | 39 | { |
39 | int i; | 40 | int i; |