diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-10-25 15:43:18 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | 5708b9591617486bf1aa5b1a97f2c0549ec87933 (patch) | |
tree | e2d5f219c090ecda4bc9265027b41be2c70a57ad /fs/btrfs/disk-io.c | |
parent | 18f16f7ba62a01c29e09b40ac6ad6d92a8955859 (diff) | |
download | linux-5708b9591617486bf1aa5b1a97f2c0549ec87933.tar.gz linux-5708b9591617486bf1aa5b1a97f2c0549ec87933.tar.bz2 linux-5708b9591617486bf1aa5b1a97f2c0549ec87933.zip |
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions