commit | c604480171c510c1beeb81b82418e5bc4de8f1ae | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Jun 09 18:35:15 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Jun 10 11:29:51 2009 -0400 |
tree | 54be031aa42874f827e1c7d2aa79f1ec54b36a33 | |
parent | 3b30c22f64a6bb297719c60e494af1d26563f584 [diff] |
Btrfs: avoid allocation clusters that are too spread out In SSD mode for data, and all the time for metadata the allocator will try to find a cluster of nearby blocks for allocations. This commit adds extra checks to make sure that each free block in the cluster is close to the last one. Signed-off-by: Chris Mason <chris.mason@oracle.com>