Spelling mistakes

dev
Bimba Shrestha 2020-06-05 03:19:30 -05:00
parent 4b201f98eb
commit e2838d9eb9
3 changed files with 7 additions and 7 deletions

View File

@ -810,7 +810,7 @@ static void FIO_adjustParamsForPatchFromMode(FIO_prefs_t* const prefs,
comprParams->windowLog = MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog); comprParams->windowLog = MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog);
if (fileWindowLog > ZSTD_cycleLog(cParams.hashLog, cParams.strategy)) { if (fileWindowLog > ZSTD_cycleLog(cParams.hashLog, cParams.strategy)) {
if (!prefs->ldmFlag) if (!prefs->ldmFlag)
DISPLAYLEVEL(1, "long mode automaticaly triggered\n"); DISPLAYLEVEL(1, "long mode automatically triggered\n");
FIO_setLdmFlag(prefs, 1); FIO_setLdmFlag(prefs, 1);
} }
if (cParams.strategy >= ZSTD_btopt) { if (cParams.strategy >= ZSTD_btopt) {
@ -1506,7 +1506,7 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
} else if ( strcmp(dstFileName, stdoutmark) } else if ( strcmp(dstFileName, stdoutmark)
&& strcmp(dstFileName, nulmark) && strcmp(dstFileName, nulmark)
&& transfer_permissions) { && transfer_permissions) {
DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: transfering permissions into dst: %s \n", dstFileName); DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: transferring permissions into dst: %s \n", dstFileName);
UTIL_setFileStat(dstFileName, &statbuf); UTIL_setFileStat(dstFileName, &statbuf);
} else { } else {
DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFileName); DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFileName);

View File

@ -129,12 +129,12 @@ the last one takes effect.
Note: cannot use both this and -D together Note: cannot use both this and -D together
Note: `--long` mode will be automatically activated if chainLog < fileLog Note: `--long` mode will be automatically activated if chainLog < fileLog
(fileLog being the windowLog requried to cover the whole file). You (fileLog being the windowLog required to cover the whole file). You
can also manually force it. can also manually force it.
Node: for all levels, you can use --patch-from in --single-thread mode Node: for all levels, you can use --patch-from in --single-thread mode
to improve compression ratio at the cost of speed to improve compression ratio at the cost of speed
Note: for level 19, you can get increased compression ratio at the cost Note: for level 19, you can get increased compression ratio at the cost
of speed by specifying `--zstd=targetLength=` to be something large of speed by specifying `--zstd=targetLength=` to be something large
(i.e 4096), and by setting a large `--zstd=chainLog=` (i.e 4096), and by setting a large `--zstd=chainLog=`
* `-M#`, `--memory=#`: * `-M#`, `--memory=#`:
Set a memory usage limit. By default, Zstandard uses 128 MB for decompression Set a memory usage limit. By default, Zstandard uses 128 MB for decompression
@ -208,7 +208,7 @@ the last one takes effect.
This setting overrides default and can force sparse mode over stdout. This setting overrides default and can force sparse mode over stdout.
* `--[no-]content-size`: * `--[no-]content-size`:
enable / disable whether or not the original size of the file is placed in enable / disable whether or not the original size of the file is placed in
the header of the compressed file. The default option is the header of the compressed file. The default option is
--content-size (meaning that the original size will be placed in the header). --content-size (meaning that the original size will be placed in the header).
* `--rm`: * `--rm`:
remove source file(s) after successful compression or decompression remove source file(s) after successful compression or decompression

View File

@ -1300,7 +1300,7 @@ println "\n===> patch-from long mode trigger larger file test"
datagen -g5000000 > tmp_dict datagen -g5000000 > tmp_dict
datagen -g5000000 > tmp_patch datagen -g5000000 > tmp_patch
zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automaticaly triggered" zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automatically triggered"
rm -rf tmp* rm -rf tmp*
println "\n===> large files tests " println "\n===> large files tests "