From: Yann Collet Date: Thu, 19 Oct 2017 19:09:34 +0000 (-0700) Subject: fixed missing zstdmt_compress.h dependency X-Git-Tag: v1.3.3^2~49^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91535d71ec58b9ef9090c5b4ed39a31243a5ced4;p=thirdparty%2Fzstd.git 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. --- 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