Realloc td->files to full size immediately
authorJens Axboe <jens.axboe@oracle.com>
Wed, 4 Mar 2009 14:27:42 +0000 (15:27 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 4 Mar 2009 14:27:42 +0000 (15:27 +0100)
commitfc99bc0d82371cc704395a7718e78abd0e0d2709
tree603af9778d78a98df51d18e5847f2f59e262ef59
parent814452bd47e0f2bb4825b8042b664f32de0aff8d
Realloc td->files to full size immediately

For adding many files, we do as many reallocs() as we have files. This is
slow, so do full allocs instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c