[gparted] Enable copy to work on computers with only 128 MiB RAM (#613430)



commit 1a498b62bf1cd6b9f001c490c43ab127d9c4d301
Author: Curtis Gedak <gedakc gmail com>
Date:   Wed Mar 24 14:47:46 2010 -0600

    Enable copy to work on computers with only 128 MiB RAM (#613430)

 src/GParted_Core.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index 6fa3636..70ab305 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -2122,7 +2122,7 @@ bool GParted_Core::copy_filesystem( const Glib::ustring & src_device,
 
 	operationdetail .add_child( OperationDetail( _("finding optimal blocksize"), STATUS_NONE ) ) ;
 
-	Sector benchmark_blocksize = readonly ? 128 : 64, N = 65536 ;
+	Sector benchmark_blocksize = readonly ? 128 : 64, N = 32768 ;
 	Sector optimal_blocksize = benchmark_blocksize ;
 	Sector offset_read = src_start,
 	       offset_write = dst_start ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]