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

This commit is contained in:
Curtis Gedak 2010-03-24 14:47:46 -06:00
parent 44e5176ee5
commit 1a498b62bf
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ bool GParted_Core::copy_filesystem( const Glib::ustring & src_device,
operationdetail .add_child( OperationDetail( _("finding optimal blocksize"), STATUS_NONE ) ) ; 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 optimal_blocksize = benchmark_blocksize ;
Sector offset_read = src_start, Sector offset_read = src_start,
offset_write = dst_start ; offset_write = dst_start ;