]> git.decadent.org.uk Git - nfs-utils.git/commit
Change default buffer size increment for readline()
authorkwc@citi.umich.edu <kwc@citi.umich.edu>
Mon, 3 Jul 2006 22:34:33 +0000 (18:34 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 4 Jul 2006 00:27:15 +0000 (10:27 +1000)
commitee664fd246d77010af13fb557407c612752a5ea8
tree74fe97139b5482b3f3de7bb0ebc2044c68060f35
parent3da69ce5c4fac5677e91aa20e60750ab8de2ab97
Change default buffer size increment for readline()

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
The readline routine expects much smaller messages than we are passing.
Change the default initial allocation and increment value from 128
to 2048.  This saves many calls to realloc().
utils/gssd/cacheio.c