]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Bring in reallocblk to ext2fs.
authorpfg <pfg@FreeBSD.org>
Thu, 15 Dec 2011 20:31:18 +0000 (20:31 +0000)
committerpfg <pfg@FreeBSD.org>
Thu, 15 Dec 2011 20:31:18 +0000 (20:31 +0000)
commit37ef732e3706f181d980062a33f308832cd40d73
treed9583affe60423447807fff7c05f2b9f2a1c852b
parent1551a9d47765ddb3229399b4bb3fbacf4faaf66b
Bring in reallocblk to ext2fs.

The feature has been standard for a while in UFS as a means to reduce
fragmentation, therefore maintaining consistent performance with
filesystem aging. This is also very similar to what ext4 calls
"delayed allocation".

In his 2010 GSoC, Zheng Liu ported and benchmarked the missing
FANCY_REALLOC code to find more consistent performance improvements than
with the preallocation approach.

PR: 159233
Author: Zheng Liu <gnehzuil AT SPAMFREE gmail DOT com>
Sponsored by: Google Inc.
Approved by: jhb (mentor)
MFC after: 2 weeks
sys/fs/ext2fs/ext2_alloc.c
sys/fs/ext2fs/ext2_extern.h
sys/fs/ext2fs/ext2_subr.c
sys/fs/ext2fs/ext2_vfsops.c
sys/fs/ext2fs/ext2fs.h