linux/fs/btrfs
Chris Mason 5708b95916 Btrfs: Tune the automatic defrag code
1) Forced defrag wasn't working properly (btrfsctl -d) because some
cache only checks were incorrect.

2) Defrag only the leaves unless in forced defrag mode.

3) Don't use complex logic to figure out if a leaf is needs defrag

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:57 -04:00
..
bit-radix.c Btrfs: trivial include fixups 2007-07-11 10:00:37 -04:00
bit-radix.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
btrfs_inode.h Btrfs: Extent based page cache code. This uses an rbtree of extents and tests 2007-08-27 16:49:44 -04:00
COPYING Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
ctree.c Btrfs: Tune the automatic defrag code 2008-09-25 11:03:57 -04:00
ctree.h Btrfs: Optimize csum insertion to create larger items when possible 2008-09-25 11:03:57 -04:00
dir-item.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
disk-io.c Btrfs: Properly setup root key while reading the root 2008-09-25 11:03:57 -04:00
disk-io.h Btrfs: Add back file data checksumming 2008-09-25 11:03:57 -04:00
extent_map.c Btrfs: Off by one fixes in extent_map.c 2008-09-25 11:03:57 -04:00
extent_map.h Btrfs: Add back metadata checksumming 2008-09-25 11:03:56 -04:00
extent-tree.c btrfs: 32-bit type problems 2008-09-25 11:03:57 -04:00
file-item.c Btrfs: Optimize csum insertion to create larger items when possible 2008-09-25 11:03:57 -04:00
file.c Btrfs: Fix for insert_inline_extent to handle offset != 0 2008-09-25 11:03:57 -04:00
hash.c Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
hash.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
inode-item.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode-map.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode.c Btrfs: Off by one fixes in extent_map.c 2008-09-25 11:03:57 -04:00
INSTALL Btrfs: Documentation update 2007-06-22 14:49:31 -04:00
ioctl.h Btrfs: Add run time btree defrag, and an ioctl to force btree defrag 2007-08-07 16:15:09 -04:00
Makefile Breakout BTRFS_SETGET_FUNCS into a separate C file, the inlines were too big. 2008-09-25 11:03:56 -04:00
print-tree.c Btrfs: Allow tree blocks larger than the page size 2008-09-25 11:03:56 -04:00
print-tree.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
root-tree.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
struct-funcs.c Breakout BTRFS_SETGET_FUNCS into a separate C file, the inlines were too big. 2008-09-25 11:03:56 -04:00
super.c Btrfs: Allow tails larger than one page 2008-09-25 11:03:56 -04:00
sysfs.c Btrfs: sysfs compile fixup 2008-09-25 11:03:57 -04:00
TODO Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
transaction.c Btrfs: Defrag only leaves, and only when the parent node has a single objectid 2008-09-25 11:03:57 -04:00
transaction.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
tree-defrag.c Btrfs: Tune the automatic defrag code 2008-09-25 11:03:57 -04:00