summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-06-10 00:35:15 +0200
committerChris Mason <chris.mason@oracle.com>2009-06-10 17:29:51 +0200
commitc604480171c510c1beeb81b82418e5bc4de8f1ae (patch)
tree54be031aa42874f827e1c7d2aa79f1ec54b36a33 /fs/btrfs/super.c
parentBtrfs: Add mount -o nossd (diff)
downloadlinux-c604480171c510c1beeb81b82418e5bc4de8f1ae.tar.xz
linux-c604480171c510c1beeb81b82418e5bc4de8f1ae.zip
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>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions