From 91535d71ec58b9ef9090c5b4ed39a31243a5ced4 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 19 Oct 2017 12:09:34 -0700 Subject: [PATCH] fixed missing zstdmt_compress.h dependency we lose a warning message : when a job size is chosen < minimum job size for multithreading, it is automatically resized to minimum size. If this information is really useful, it should be present in zstd.h now. --- programs/fileio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/programs/fileio.c b/programs/fileio.c index 7efa3c656..a8e33994c 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -203,10 +203,6 @@ static U32 g_blockSize = 0; void FIO_setBlockSize(unsigned blockSize) { if (blockSize && g_nbThreads==1) DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); -#ifdef ZSTD_MULTITHREAD - if (blockSize-1 < ZSTDMT_SECTION_SIZE_MIN-1) /* intentional underflow */ - DISPLAYLEVEL(2, "Note : minimum block size is %u KB \n", (ZSTDMT_SECTION_SIZE_MIN>>10)); -#endif g_blockSize = blockSize; } #define FIO_OVERLAP_LOG_NOTSET 9999