linux/fs/btrfs
Chris Mason 1edbb734b4 Btrfs: reduce CPU usage in the extent_state tree
Btrfs is currently mirroring some of the page state bits into
its extent state tree.  The goal behind this was to use it in supporting
blocksizes other than the page size.

But, we don't currently support that, and we're using quite a lot of CPU
on the rb tree and its spin lock.  This commit starts a series of
cleanups to reduce the amount of work done in the extent state tree as
part of each IO.

This commit:

* Adds the ability to lock an extent in the state tree and also set
other bits.  The idea is to do locking and delalloc in one call

* Removes the EXTENT_WRITEBACK and EXTENT_DIRTY bits.  Btrfs is using
a combination of the page bits and the ordered write code for this
instead.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-09-11 13:31:06 -04:00
..
Kconfig
Makefile
acl.c Fix btrfs when ACLs are configured out 2009-06-10 11:36:43 -04:00
async-thread.c Btrfs: reduce worker thread spin_lock_irq hold times 2009-09-11 13:31:04 -04:00
async-thread.h Btrfs: keep irqs on more often in the worker threads 2009-09-11 13:31:04 -04:00
btrfs_inode.h
compat.h
compression.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
compression.h
ctree.c Btrfs: Avoid delayed reference update looping 2009-07-24 12:42:46 -04:00
ctree.h Btrfs: preserve commit_root for async caching 2009-07-30 09:40:40 -04:00
delayed-ref.c
delayed-ref.h
dir-item.c
disk-io.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
disk-io.h
export.c
export.h
extent-tree.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
extent_io.c Btrfs: reduce CPU usage in the extent_state tree 2009-09-11 13:31:06 -04:00
extent_io.h Btrfs: reduce CPU usage in the extent_state tree 2009-09-11 13:31:06 -04:00
extent_map.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
extent_map.h Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
file-item.c
file.c Btrfs: reduce CPU usage in the extent_state tree 2009-09-11 13:31:06 -04:00
free-space-cache.c Btrfs: fix btrfs_remove_from_free_space corner case 2009-07-31 11:03:58 -04:00
free-space-cache.h Btrfs: use hybrid extents+bitmap rb tree for free space 2009-07-24 09:23:30 -04:00
hash.h
inode-item.c
inode-map.c
inode.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
ioctl.c Btrfs: fix the file clone ioctl for preallocated extents 2009-07-02 13:41:16 -04:00
ioctl.h
locking.c
locking.h
ordered-data.c
ordered-data.h
orphan.c
print-tree.c Btrfs: remove of redundant btrfs_header_level 2009-07-22 16:52:13 -04:00
print-tree.h
ref-cache.c
ref-cache.h
relocation.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
root-tree.c
struct-funcs.c
super.c Btrfs: fix -o nodatasum printk spelling 2009-06-11 09:30:13 -04:00
sysfs.c
transaction.c Btrfs: be more polite in the async caching threads 2009-07-30 10:14:46 -04:00
transaction.h Btrfs: be more polite in the async caching threads 2009-07-30 10:14:46 -04:00
tree-defrag.c
tree-log.c Btrfs: change how we unpin extents 2009-07-27 13:57:01 -04:00
tree-log.h
version.h
version.sh
volumes.c Btrfs: switch extent_map to a rw lock 2009-09-11 13:31:05 -04:00
volumes.h Btrfs: avoid races between super writeout and device list updates 2009-06-10 15:17:02 -04:00
xattr.c
xattr.h
zlib.c Btrfs: correct error-handling zlib error handling 2009-08-07 13:51:33 -04:00