linux/fs/btrfs
Chris Mason 284b066af4 Btrfs: don't use spin_is_contended
Btrfs was using spin_is_contended to see if it should drop locks before
doing extent allocations during btrfs_search_slot.  The idea was to avoid
expensive searches in the tree unless the lock was actually contended.

But, spin_is_contended is specific to the ticket spinlocks on x86, so this
is causing compile errors everywhere else.

In practice, the contention could easily appear some time after we started
doing the extent allocation, and it makes more sense to always drop the lock
instead.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-02-09 16:22:03 -05:00
..
Kconfig Btrfs: make btrfs acls selectable 2009-02-04 09:28:28 -05:00
Makefile
acl.c
async-thread.c Btrfs: async threads should try harder to find work 2009-02-04 09:23:24 -05:00
async-thread.h
btrfs_inode.h
compat.h
compression.c Btrfs: removed unused #include <version.h>'s 2009-01-21 10:49:16 -05:00
compression.h
crc32c.h
ctree.c Btrfs: don't use spin_is_contended 2009-02-09 16:22:03 -05:00
ctree.h Btrfs: Change btree locking to use explicit blocking points 2009-02-04 09:25:08 -05:00
dir-item.c
disk-io.c Btrfs: Change btree locking to use explicit blocking points 2009-02-04 09:25:08 -05:00
disk-io.h Btrfs: fix tree logs parallel sync 2009-01-21 12:54:03 -05:00
export.c
export.h
extent-tree.c Btrfs: Fix memory leak in cache_drop_leaf_ref 2009-02-05 09:08:14 -05:00
extent_io.c Btrfs: don't return congestion in write_cache_pages as often 2009-02-04 09:33:00 -05:00
extent_io.h Btrfs: Change btree locking to use explicit blocking points 2009-02-04 09:25:08 -05:00
extent_map.c Btrfs: removed unused #include <version.h>'s 2009-01-21 10:49:16 -05:00
extent_map.h
file-item.c
file.c Btrfs: fix tree logs parallel sync 2009-01-21 12:54:03 -05:00
free-space-cache.c
hash.h
inode-item.c
inode-map.c
inode.c Btrfs: Make sure dir is non-null before doing S_ISGID checks 2009-02-06 11:35:57 -05:00
ioctl.c Btrfs: removed unused #include <version.h>'s 2009-01-21 10:49:16 -05:00
ioctl.h Btrfs: fix ioctl arg size (userland incompatible change!) 2009-01-16 11:59:08 -05:00
locking.c Btrfs: don't use spin_is_contended 2009-02-09 16:22:03 -05:00
locking.h Btrfs: don't use spin_is_contended 2009-02-09 16:22:03 -05:00
ordered-data.c Btrfs: simplify iteration codes 2009-01-21 10:59:08 -05:00
ordered-data.h
orphan.c
print-tree.c
print-tree.h
ref-cache.c Btrfs: Make btrfs_drop_snapshot work in larger and more efficient chunks 2009-02-04 09:27:02 -05:00
ref-cache.h Btrfs: Make btrfs_drop_snapshot work in larger and more efficient chunks 2009-02-04 09:27:02 -05:00
root-tree.c
struct-funcs.c
super.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable 2009-01-28 20:29:43 -05:00
sysfs.c
transaction.c Btrfs: simplify iteration codes 2009-01-21 10:59:08 -05:00
transaction.h
tree-defrag.c Btrfs: Change btree locking to use explicit blocking points 2009-02-04 09:25:08 -05:00
tree-log.c Btrfs: Change btree locking to use explicit blocking points 2009-02-04 09:25:08 -05:00
tree-log.h
version.h
version.sh
volumes.c Btrfs: Catch missed bios in the async bio submission thread 2009-02-04 09:19:41 -05:00
volumes.h
xattr.c Btrfs: selinux support 2009-02-04 09:29:13 -05:00
xattr.h Btrfs: selinux support 2009-02-04 09:29:13 -05:00
zlib.c