From 95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 24 Apr 2021 03:25:30 +0200 Subject: Split huge iovecs over multiple io_batches --- ot_fullscrape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_fullscrape.c') diff --git a/ot_fullscrape.c b/ot_fullscrape.c index c3c6b34..5d115dc 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c @@ -191,7 +191,7 @@ static void fullscrape_make_gzip( int *iovec_entries, struct iovec **iovector, o byte_zero( &strm, sizeof(strm) ); strm.next_out = (uint8_t*)r; strm.avail_out = OT_SCRAPE_CHUNK_SIZE; - if( deflateInit2(&strm,7,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK ) + if( deflateInit2(&strm,7,Z_DEFLATED,31,9,Z_DEFAULT_STRATEGY) != Z_OK ) fprintf( stderr, "not ok.\n" ); if( ( mode & TASK_TASK_MASK ) == TASK_FULLSCRAPE ) { -- cgit v1.2.3