diff options
author | Dave Chinner <dgc@sgi.com> | 2009-09-01 03:58:28 +0400 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-09-01 21:45:48 +0400 |
commit | bd169565993b39b9b4b102cdac8b13e0a259ce2f (patch) | |
tree | 4cc6dc56cf7a2b9af71156299e091062dbe30594 /block/blk-settings.c | |
parent | 2187550525d7bcb8c87689e4eca41b1955bf9ac3 (diff) | |
download | linux-bd169565993b39b9b4b102cdac8b13e0a259ce2f.tar.xz |
xfs: speed up free inode search
Don't search too far - abort if it is outside a certain radius and simply do
a linear search for the first free inode. In AGs with a million inodes this
can speed up allocation speed by 3-4x.
[hch: ported to the new xfs_ialloc.c world order]
Signed-off-by: Dave Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions