mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02: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:
committed by
Alexander Larsson
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>
|
2008-03-16 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
|
* 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;
|
gssize n_read, n_written;
|
||||||
goffset current_size;
|
goffset current_size;
|
||||||
char buffer[8192], *p;
|
char buffer[1024*64], *p;
|
||||||
gboolean res;
|
gboolean res;
|
||||||
goffset total_size;
|
goffset total_size;
|
||||||
GFileInfo *info;
|
GFileInfo *info;
|
||||||
|
Reference in New Issue
Block a user