diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-24 03:25:30 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-24 03:25:30 +0200 |
| commit | 95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (patch) | |
| tree | 152d4f281d0eb1380fe5c4d31f32341e5ac22e50 /ot_fullscrape.c | |
| parent | e87978860b1de6822db001cbc1d313694002ea28 (diff) | |
Split huge iovecs over multiple io_batches
Diffstat (limited to 'ot_fullscrape.c')
| -rw-r--r-- | ot_fullscrape.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 191 | byte_zero( &strm, sizeof(strm) ); | 191 | byte_zero( &strm, sizeof(strm) ); |
| 192 | strm.next_out = (uint8_t*)r; | 192 | strm.next_out = (uint8_t*)r; |
| 193 | strm.avail_out = OT_SCRAPE_CHUNK_SIZE; | 193 | strm.avail_out = OT_SCRAPE_CHUNK_SIZE; |
| 194 | if( deflateInit2(&strm,7,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK ) | 194 | if( deflateInit2(&strm,7,Z_DEFLATED,31,9,Z_DEFAULT_STRATEGY) != Z_OK ) |
| 195 | fprintf( stderr, "not ok.\n" ); | 195 | fprintf( stderr, "not ok.\n" ); |
| 196 | 196 | ||
| 197 | if( ( mode & TASK_TASK_MASK ) == TASK_FULLSCRAPE ) { | 197 | if( ( mode & TASK_TASK_MASK ) == TASK_FULLSCRAPE ) { |
