From: Josef Bacik Date: Tue, 2 Feb 2010 21:48:28 +0000 (+0000) Subject: Btrfs: change the ordered tree to use a spinlock instead of a mutex X-Git-Tag: v2.6.34-rc2~21^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49958fd7dbb83cd4d65179d025940e01fe1fbacd;p=pandora-kernel.git Btrfs: change the ordered tree to use a spinlock instead of a mutex The ordered tree used to need a mutex, but currently all we use it for is to protect the rb_tree, and a spin_lock is just fine for that. Using a spin_lock instead makes dbench run a little faster, 58 mb/s instead of 51 mb/s, and have less latency, 3445.138 ms instead of 3820.633 ms. Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed