mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Bump block side for copy to 64k to minimize overhead for low latency
2008-03-19 Alexander Larsson <alexl@redhat.com> * gfile.c: (copy_stream_with_progress): Bump block side for copy to 64k to minimize overhead for low latency links. (#523015) svn path=/trunk/; revision=6735
This commit is contained in:
parent
16484fd175
commit
53f36510be
@ -1,3 +1,10 @@
|
||||
2008-03-19 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gfile.c:
|
||||
(copy_stream_with_progress):
|
||||
Bump block side for copy to 64k to minimize
|
||||
overhead for low latency links. (#523015)
|
||||
|
||||
2008-03-16 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
|
||||
|
@ -2124,7 +2124,7 @@ copy_stream_with_progress (GInputStream *in,
|
||||
{
|
||||
gssize n_read, n_written;
|
||||
goffset current_size;
|
||||
char buffer[8192], *p;
|
||||
char buffer[1024*64], *p;
|
||||
gboolean res;
|
||||
goffset total_size;
|
||||
GFileInfo *info;
|
||||
|
Loading…
Reference in New Issue
Block a user