W. Felix Handte
9c340ce014
Require -vv
to Enable Full Precision
2021-06-10 12:53:07 -04:00
W. Felix Handte
bc46b6efe4
Apply to Other Print Statement as Well
2021-06-10 12:53:07 -04:00
W. Felix Handte
7e0058848c
Fix Whitespace
2021-06-10 12:53:07 -04:00
W. Felix Handte
93bb368d74
Change Suffix (e.g., "G" -> " GB")
2021-06-10 12:53:07 -04:00
W. Felix Handte
464bfb022e
In Verbose Mode, Preserve Full Precision Where Possible
2021-06-10 12:53:07 -04:00
W. Felix Handte
9b67219b1e
Fix Integer Constants; Fix Comparison
2021-06-10 12:53:07 -04:00
W. Felix Handte
bbb81c8801
Avoid snprintf()
in Preparing Human-Readable Sizes; Improve Formatting
...
This produces the following formatting:
Size | `zstd` | `ls -lh`
---------- | ------ | --------
1 | 1 | 1
12 | 12 | 12
123 | 123 | 123
1234 | 1.21K | 1.3K
12345 | 12.1K | 13K
123456 | 121K | 121K
1234567 | 1.18M | 1.2M
12345678 | 11.8M | 12M
123456789 | 118M | 118M
1234567890 | 1.15G | 1.2G
999 | 999 | 999
1000 | 1000 | 1000
1001 | 1001 | 1001
1023 | 1023 | 1023
1024 | 1.000K | 1.0K
1025 | 1.00K | 1.1K
999999 | 977K | 977K
1000000 | 977K | 977K
1000001 | 977K | 977K
1023999 | 1000K | 1000K
1024000 | 1000K | 1000K
1024001 | 1000K | 1001K
1048575 | 1024K | 1.0M
1048576 | 1.000M | 1.0M
1048577 | 1.00M | 1.1M
This was produced with the following invocation:
```
for N in 1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890 999 1000 1001 1023 1024 1025 999999 1000000 1000001 1023999 1024000 1024001 1048575 1048576 1048577; do
head -c $N /dev/urandom > r$N
done
./zstd -i1 -b1 -S r1 r12 r123 r1234 r12345 r123456 r1234567 r12345678 r123456789 r1234567890 r999 r1000 r1001 r1023 r1024 r1025 r999999 r1000000 r1000001 r1023999 r1024000 r1024001 r1048575 r1048576 r1048577
```
2021-06-10 12:53:07 -04:00
Scott Baker
8e0a9695d7
Attempt to fix a failing test with help from @aqrit
2021-06-10 12:53:07 -04:00
Scott Baker
1eb852854b
Some fixes to address things @felixhandte found
2021-06-10 12:53:07 -04:00
Scott Baker
376a2730a8
Try enabling the BIG strings now the unsigned long long is in effect
2021-06-10 12:53:07 -04:00
Scott Baker
20b9b00b41
Try unsigned long long
2021-06-10 12:53:07 -04:00
Scott Baker
64385ef7cb
Update humanSize() to skip the big numbers (it requires 64 bit)
2021-06-10 12:53:07 -04:00
Scott Baker
1ef6f3d079
Use unsigned long instead to help with some tests
2021-06-10 12:53:07 -04:00
Scott Baker
e5fc830795
human_size() should use size_t
2021-06-10 12:53:07 -04:00
Scott Baker
35576e63ce
Convert tabs to spaces
2021-06-10 12:53:07 -04:00
Scott Baker
77001f00fb
Use human_size() on the "multiple files compressed" output also
2021-06-10 12:53:07 -04:00
Scott Baker
894698d3b6
Use human_size() in the benchmark output also
2021-06-10 12:53:07 -04:00
Scott Baker
4e0d9f1cc8
Move the variable declarations to the top
2021-06-10 12:53:07 -04:00
Scott Baker
eefdbcd93a
Make the variable types match
2021-06-10 12:53:07 -04:00
Scott Baker
b6b23dfe64
Convert names to CamelCase
2021-06-10 12:53:07 -04:00
Scott Baker
b70175e5ec
Put the human_size() function in util.c
2021-06-10 12:53:07 -04:00
Scott Baker
26fab1d963
Make the CLI output the file sizes in human readable format
2021-06-10 12:53:07 -04:00
binhdvo
325952f878
Revert "Add support for --long-param flag, fix #2104 "
2021-06-09 15:35:43 -04:00
Binh Vo
6583fa3f0a
Add support for --long-param flag
2021-06-09 14:07:52 -04:00
Binh Vo
d2f31b6627
Fix --progress flag to properly control progress display and default progress display on when using -v
2021-06-08 17:24:38 -04:00
Binh Vo
1e17184ad0
Add documentation for --patch-from
2021-06-03 11:12:27 -04:00
Samuli Piippo
fa2a6d4746
Makefile: fix build for mingw
...
Add ${EXT} to required places to make install succeed for mingw build.
2021-05-27 16:09:37 +03:00
Yann Collet
8fae35591e
Merge branch 'dev' of github.com:facebook/zstd into dev
2021-05-12 13:12:30 -07:00
Olivier Perret
d4548c96cb
fileio: clamp value of windowLog in patch-mode ( #2637 )
...
With small enough input files, the inferred value of fileWindowLog could
be smaller than ZSTD_WINDOWLOG_MIN.
This can be reproduced like so:
$ echo abc > small
$ echo abcdef > small2
$ zstd --patch-from small small2 -o patch
previously, this would fail with the error "zstd: error 11 : Parameter is out of bound"
2021-05-12 16:11:15 -04:00
Yann Collet
cb0cad9b79
reduce Max nb Workers to 64 in 32-bit mode
...
and restored limit to 256 when in 64-bit mode
(it was reduced to 200 to give more room for 32-bit).
This should fix test instability issues
using lot of threads in 32-bit environments.
2021-05-12 13:10:25 -07:00
Yann Collet
8a53a882f2
updated generated man pages for v1.5.0 ( #2635 )
2021-05-11 18:17:31 -04:00
sen
13449d7ce1
Add PHONY targets to makefiles ( #2629 )
2021-05-07 14:03:19 -04:00
sen
6030cdfede
Add --progress flag ( #2595 )
2021-05-06 14:50:28 -04:00
Yann Collet
2f7bbd6539
Merge pull request #2620 from facebook/winFilelist
...
fix --filelist compatibility with Windows cr+lf line ending
2021-05-06 11:35:16 -07:00
Yann Collet
df05b2ba7c
fix --filelist compatibility with Windows cr+lf line ending
2021-05-05 18:01:55 -07:00
Yann Collet
9750f3c87b
improved benchmark experience on Windows
...
benchmark results are not progressively displayed on Windows terminal.
For long benchmark sessions, nothing is displayed,
until the end, where everything is flushed.
Force display to be flushed after each update.
Updates happen roughtly every second, or even less,
so it's not a substantial workload.
2021-05-05 16:52:21 -07:00
W. Felix Handte
4f9c6fdb7f
Attempt to Fix Windows Build Error
2021-05-05 13:13:56 -04:00
W. Felix Handte
da61918c75
Also Pass Mode Bits in on Windows
...
I think in some unix emulation environments on Windows, (cygwin?) mode bits
are somehow respected. So we might as well pass them in. Can't hurt.
2021-05-05 13:10:34 -04:00
W. Felix Handte
45c4918ccf
Fix Build for Windows
2021-05-05 13:10:34 -04:00
W. Felix Handte
1fb10ba831
Don't Block Removing File on Being Able to Read It
...
`open()`'s mode bits are only applied to files that are created by the call.
If the output file already exists, but is not readable, the `fopen()` would
fail, preventing us from removing it, which would mean that the file would
not end up with the correct permission bits.
It's not clear to me why the `fopen()` is there at all. `UTIL_isRegularFile()`
should be sufficient, AFAICT.
2021-05-05 13:10:34 -04:00
W. Felix Handte
b87f97b3ea
Create Files with Desired Permissions; Avoid chmod(); Remove UTIL_chmod()
2021-05-05 13:10:34 -04:00
Felix Handte
2d10544b84
Merge pull request #2613 from felixhandte/allow-block-device
...
Allow Reading from Block Devices with `--force`
2021-05-05 13:06:32 -04:00
Yann Collet
455fd1a067
updated documentation regarding minimum job size
2021-05-05 09:03:11 -07:00
W. Felix Handte
33f3e293e8
Allow Reading from Block Devices with --force
2021-05-04 16:25:26 -04:00
Nick Terrell
a8ecf4ff88
Merge pull request #2597 from terrelln/public-headers
...
[1.5.0] Move `zstd_errors.h` and `zdict.h` to `lib/` root
2021-05-04 11:28:41 -07:00
W. Felix Handte
ee122baacf
Detect Presence of md5
on Darwin
...
This fixes #2568 .
2021-05-04 12:33:19 -04:00
Nick Terrell
09149beaf8
[1.5.0] Move zstd_errors.h
and zdict.h
to lib/
root
...
`zstd_errors.h` and `zdict.h` are public headers, so they deserve to be
in the root `lib/` directory with `zstd.h`, not mixed in with our private
headers.
2021-04-30 15:13:54 -07:00
Nick Terrell
4694423c4f
Add and integrate lazy row hash strategy
2021-04-07 09:53:34 -07:00
Niclas Rosenvik
e7647180cd
Stop complaining about hash tool not found
...
If build_dir is set the zstd build complains about md5sum not being found.
Fix this by checking if build_dir is set before checking and using the hash tool
just like in lib/Makefile .
2021-04-02 13:00:19 -07:00
Nick Terrell
a494308ae9
[copyright][license] Switch to yearless copyright and some cleanup in the linux-kernel files
...
* Switch to yearless copyright per FB policy
* Fix up SPDX-License-Identifier lines in `contrib/linux-kernel` sources
* Add zstd copyright/license header to the `contrib/linux-kernel` sources
* Update the `tests/test-license.py` to check for yearless copyright
* Improvements to `tests/test-license.py`
* Check `contrib/linux-kernel` in `tests/test-license.py`
2021-03-30 10:30:43 -07:00
Sen Huang
f27e326456
Restrict dictmode regression tests only to advanced API, fix some compiler warnings
2021-03-25 10:39:08 -07:00
Yann Collet
0f99a0d987
fix man page typo
...
fix #2553 detected by @jwilk
2021-03-24 05:55:04 -07:00
Yann Collet
9fb4a42c7b
fix #2549
2021-03-20 17:29:41 -07:00
Paul Bone
4d6c78fb89
Only set numPhysicalCores if ratio is valid
2021-03-03 10:59:00 +11:00
Paul Bone
eb1a09df61
If cpuinfo parsing fails fallback to sysconf
2021-03-03 10:58:51 +11:00
W. Felix Handte
61db590ad8
Detect ..
in Paths Correctly
...
This commit addresses #2509 .
2021-02-26 12:29:42 -05:00
Yann Collet
61b63e9060
Merge pull request #2492 from niacat/dev
...
Use standard md5 tool on NetBSD.
2021-02-24 16:38:10 -08:00
Stephen Kitt
adb54293ab
Stop using deprecated reset?Stream functions
...
These are replaced by the corresponding context resets. When
converting resetCStream, CCtx_setPledgedSrcSize isn't called if the
source size is "unknown".
This helps reduce the reliance on "static only" symbols, as well as
reducing the use of deprecated functions.
Signed-off-by: Stephen Kitt <steve@sk2.org>
2021-02-23 21:56:01 +01:00
Felix Handte
a2adc6df9f
Merge pull request #2495 from felixhandte/umask
...
Use umask() to Constrain Created File Permissions
2021-02-17 17:03:23 -05:00
W. Felix Handte
a774c57973
Use umask() to Constrain Created File Permissions
...
This commit addresses #2491 .
Note that a downside of this solution is that it is global: `umask()` affects
all file creation calls in the process. I believe this is safe since
`fileio.c` functions should only ever be used in the zstd binary, and these
are (almost) the only files ever created by zstd, and AIUI they're only
created in a single thread. So we can get away with messing with global state.
Note that this doesn't change the permissions of files created by `dibio.c`.
I'm not sure what those should be...
2021-02-17 15:27:39 -05:00
senhuang42
444c4650a0
Add newline to end of cli help message
2021-02-17 12:30:42 -05:00
nia
74f85818a6
Use standard md5 tool on NetBSD.
...
This avoids a GNU coreutils dependency.
-n is used to match the output format of coreutils:
http://man.netbsd.org/md5.1
2021-02-11 10:50:11 +01:00
Nick Terrell
e59c9459a5
[trace] Keep track of a uint64_t tracing context
...
The most common information that you want to track between begin() and
end() is the timestamp of the begin function, so you can measure the
duration of the (de)compression call. Allow the tracing library to put
this information inside the `ZSTD_TraceCtx`, so it doesn't need to keep
a global map in this case. If a single uint64_t is not enough, the
tracing library can return a unique identifier (like the context
pointer) instead, and use it as a key in a map.
This keeps the simple case simple.
2021-02-09 11:37:05 -08:00
Nick Terrell
54a4998a80
Add basic tracing functionality
2021-02-05 16:28:52 -08:00
Yann Collet
7e6729055a
Merge pull request #2475 from facebook/parallel_build
...
parallel make build on linux
2021-01-19 10:19:41 -08:00
Yann Collet
0bad3e5c0f
parallel make build on linux
...
fix #2474
2021-01-18 11:33:03 -08:00
W. Felix Handte
927859f5e8
Also Update Man Page Documentation
2021-01-11 17:55:58 -05:00
W. Felix Handte
8b6a4b5b7c
Allow Input From Console When --force
is Passed
...
Also update option flag documentation.
2021-01-11 17:53:20 -05:00
Yann Collet
3324e87cff
Added library version check
2021-01-07 10:37:27 -08:00
Yann Collet
cefdc023f7
The CLI can be linked to libzstd dynamic library
...
invoking target zstd-dll
2021-01-06 18:00:24 -08:00
Yann Collet
890d85bdb4
removed CLI dependency to legacy unsafe function
...
makint the CLI ons step closer to being linkable to the dynamic library
2021-01-06 16:19:42 -08:00
Yann Collet
0d793a675a
removed internal dependency from CLI
...
ZSTD_cycleLog() is a very short function,
creating a rather large dependency onto libzstd's internal just for it is overkill.
Prefer duplicating this 2-lines function.
This PR makes the zstd CLI one step closer to being linkable to the dynamic library (see #2450 )
More steps are still needed to reach this goal.
2021-01-06 01:35:52 -08:00
Nick Terrell
66e811d782
[license] Update year to 2021
2021-01-04 17:53:52 -05:00
Yann Collet
f2ac2b7bcf
try to fix cross-compiler tests
2020-12-21 15:43:14 -08:00
Yann Collet
9a9d3f76c4
fixed zstd+sanitizer build
2020-12-20 17:53:04 -08:00
Yann Collet
f9884036c2
fixed zstd recipe
2020-12-20 17:19:23 -08:00
Yann Collet
9648bf027b
try to keep libzstd.a "as is" once created
...
to be compatible with scenarios such as
`make -j allmost`
2020-12-20 17:10:57 -08:00
Yann Collet
7c495e8ea2
updated version number to v1.4.8
2020-12-18 15:52:11 -08:00
Yann Collet
f647a759fe
updated version number to v1.4.7
...
and updated doc
2020-12-15 20:53:05 -08:00
ihsinme
f37896db02
fix Integer Overflow
2020-12-13 12:08:31 +03:00
Yann Collet
c2939b96be
refinement : only copy if binary is different
2020-12-10 14:31:35 -08:00
Yann Collet
c56723ab03
replace final links by direct copy
...
link can behave slightly differently from real binaries,
breaking a few scripts relying on "real binary" assumption.
2020-12-10 13:25:08 -08:00
Yann Collet
fed1c62571
fix gcc10 warnings
...
gcc10 doesn't like its own strncpy
2020-11-30 04:44:37 -08:00
sen
f54109c589
Merge pull request #2378 from senhuang42/free_cress_ptr
...
[minor] Pass cRess_t by const ptr instead of by value
2020-11-01 20:33:25 -05:00
Yann Collet
0adce4631d
Merge branch 'libzstd_autoconf_full' of github.com:facebook/zstd into libzstd_autoconf_full
2020-10-28 10:25:55 -07:00
Yann Collet
f6ecf1568f
minor Makefile refactor
...
hopefully improving readability
2020-10-28 09:39:15 -07:00
Yann Collet
ceccd7ae2d
Merge branch 'dev' into libzstd_autoconf_full
2020-10-27 15:45:30 -07:00
Björn Ketelaars
1f661b5f6b
'head -c BYTES' is non-portable
2020-10-27 16:55:23 +01:00
Yann Collet
456db0c377
make install only rebuild binaries if they don't exist
...
Now `make` followed by `make install` doesn't rebuild binaries
also : only generated target directories if they don't already exist
2020-10-23 16:46:49 -07:00
Yann Collet
a6ee614a44
make zstd is now differentiated from zstd-nomt
...
avoids mixing object files using different flags
2020-10-23 16:08:21 -07:00
Yann Collet
89b961ea46
simplified silent mode maintenance
2020-10-23 10:41:17 -07:00
Yann Collet
ce6cd07c33
updated build documentation
2020-10-22 12:31:23 -07:00
Yann Collet
e3867fb735
fixed libzstd.dll compilation on mingw
...
and zstd linking
2020-10-22 11:52:19 -07:00
Yann Collet
dd24496951
programs/zstd also automatically generate object dir per conf
...
same rules as lib/libzstd
can also be controlled via HASH and BUILD_DIR
2020-10-21 23:38:33 -07:00
Yann Collet
01ecad2326
zstd in programs/ can also receive a DEBUGLEVEL value
...
simplify tests : only set DEBUGLEVEL, not the flags directly
2020-10-21 23:13:46 -07:00
Yann Collet
2224ec33ed
Merge pull request #2367 from facebook/progressive_build
...
faster rebuild of zstd
2020-10-21 15:43:14 -07:00
Yann Collet
684f8ea970
decouple zstd object files from lib/
...
That was a subtle one :
VPATH is affecting search for both %.c source and %.o object files.
This meant that, when an object file already exists in lib/,
it's used in programs/,
even though programs/ is supposed to generate its own %.o object files.
With the new vpath directive, this is no longer the case :
the search is only activated for %.c source files.
Now, local programs/%.o are always generated
even if equivalent ones are already created in lib/.
It more clearly guarantees that lib/ and programs/ can use different compilation directives
without mixing resulting %.o object files.
2020-10-20 18:16:11 -07:00
Yann Collet
eb1959d926
fix .deps list
...
and minor simplications
2020-10-16 11:08:52 -07:00
Yann Collet
c355d149de
support verbose build output with V=1
2020-10-16 00:21:49 -07:00
Yann Collet
b6b87c2b77
track header dependencies during build
...
modifying a header file will now trigger recompilation of related *.c units
2020-10-16 00:18:16 -07:00
Yann Collet
80cee8d3fe
faster rebuild of zstd
...
Building the zstd CLI costs time.
Some part of it is incompressible, leading to substantial iteration delay when testing code modifications.
That's mainly because all source files from the library must be rebuilt from source every time.
The main reason we don't build the CLI from library object files
is that we can't just build the object directly in the lib/ directory
(which they would by default)
since they use different compilation flags.
Specifically, the CLI enables multithreading, while the library doesn't (by default).
This is solved in this commit, by generating the object files locally.
Now, the CLI and the library can employ different sets of flags, without tripping over each other.
All library object files are generated directly into programs/ dir.
This works because no 2 source files have the same name.
Now, modifying a file doesn't require to recompile the entire lib, just the modified files.
The recipe is also compatible with `-j` parallel build, leading to large build time reductions on multi-core systems.
2020-10-16 00:01:41 -07:00
senhuang42
043b934ba2
Pass cRess_t by const const pointer
2020-10-14 20:19:46 -04:00
senhuang42
467e4383b0
Merge branch 'dev' of github.com:senhuang42/zstd into change_ldm_mt_config
2020-10-14 10:17:50 -04:00
senhuang42
a39614de1f
Fix incorrect usage of cycleLog() in --patch-from
2020-10-13 13:00:27 -04:00
Like Ma
cc907770bd
Fix building on AIX 5.1
2020-10-09 18:34:00 +08:00
senhuang42
7259b258d1
Add callsites to zstdcli.c and tests to playTests.sh
2020-10-07 13:47:38 -04:00
senhuang42
93cd9d8a6e
Add hasStdoutOutput setter to fileio.h
2020-10-07 13:44:25 -04:00
senhuang42
dd3dac9ce0
Fixed logic for stdout output
2020-10-07 13:43:27 -04:00
senhuang42
1ebe360d0f
Add new stdoutOutput field
2020-10-07 13:42:34 -04:00
Yann Collet
f7d4943788
Merge pull request #2330 from senhuang42/fix_stdinout_error_messages
...
Improve error messages on console input/output
2020-10-06 15:58:37 -07:00
Yann Collet
83461ce963
Merge pull request #2322 from senhuang42/guard_against_stdin_for_warning_prompts
...
Don't let warning messages consume input from stdin
2020-09-30 08:26:50 -07:00
senhuang42
ce56810a32
Modify error messages on console input/output
2020-09-28 12:15:18 -04:00
senhuang42
02422db841
Fix Stdin typo
2020-09-25 11:51:35 -04:00
Yann Collet
236b98e7de
Merge pull request #2310 from senhuang42/fix_multifile_status_bar
...
Fix multifile status bar and summary - clear out extraneous characters
2020-09-25 07:48:33 -07:00
senhuang42
9f7212a48b
Update unit tests
2020-09-24 16:44:33 -04:00
senhuang42
88f4410390
Add more useful failure message when stdin is an input
2020-09-24 16:29:12 -04:00
senhuang42
93d63eaeb8
Expand UTIL_requireUserConfirmation to include stdin input check
2020-09-24 15:58:06 -04:00
senhuang42
432186cbea
Add FIO_determineHasStdinInput() function and member to fCtx
2020-09-24 15:55:30 -04:00
senhuang42
0e8ac6b995
Add fCtx to FIO_openDstFile()
2020-09-24 15:49:30 -04:00
senhuang42
7aa3da1cd7
Use IS_CONSOLE macro to detect that we're indeed using a console
2020-09-22 14:15:52 -04:00
senhuang42
6b6cc80196
Support .zstd suffix only for decompression
2020-09-18 12:49:51 -04:00
senhuang42
29b8f2eb08
Fix multifile decompression summary
2020-09-16 10:38:13 -04:00
senhuang42
1d5c6fda9f
Add filename truncations to decompression
2020-09-16 10:28:45 -04:00
senhuang42
ab0d332563
Add display clears
2020-09-15 15:53:32 -04:00
senhuang42
cad6bf99af
Add padding to remove previous line's leftovers, and keep the printed line to around the same size
2020-09-15 13:01:46 -04:00
Yann Collet
05622992d5
Merge pull request #2292 from senhuang42/multifile_status_update_fio_refactor
...
Make multifile (de)compression print out a summary
2020-09-14 14:06:26 -07:00
Yann Collet
e583e0be8c
Merge pull request #2299 from senhuang42/env_var_num_threads
...
Allow environment variable to specify number of threads for compression
2020-09-14 14:04:19 -07:00
W. Felix Handte
d46306087b
Enable Dedicated Dict Search in the CLI
2020-09-10 18:51:52 -04:00
senhuang42
a71963c7b8
nbThreads instead of numThreads
2020-09-09 12:40:00 -04:00
senhuang42
243c8dfb41
Add include guards for init_numThreads()
2020-09-08 09:26:16 -04:00
senhuang42
cc29492c5f
Update documentation for environment variable
2020-09-08 08:42:46 -04:00
senhuang42
136a0673f6
Add quick documentation for ZSTD_NUMTHREADS in the code
2020-09-07 18:19:31 -04:00
senhuang42
888c385a49
Change param name to ZSTDCLI_NUMTHREADS_DEFAULT
2020-09-07 18:11:42 -04:00
senhuang42
972e063219
Change default num_threads value
2020-09-07 18:09:48 -04:00
senhuang42
5123496104
Adjust function signatures
2020-09-07 13:13:05 -04:00
senhuang42
28a9dc78c3
Always update bytes status in FIO_ctx_t
2020-09-03 20:23:30 -04:00
senhuang42
60ee0519ca
Remove extraneous FIO_ctx_t functions
2020-09-03 20:22:56 -04:00
senhuang42
48bca10792
Address memory leak in CLI from fCtx
2020-09-03 10:14:04 -04:00
senhuang42
23feaecbe5
Fix FIO_removeMultiFilesWarning conflict
2020-09-03 09:49:13 -04:00
senhuang42
49949f1d51
Merge branch 'dev' into multifile_status_update_fio_refactor
2020-09-03 09:44:47 -04:00
senhuang42
202b2954a2
Remove comma-separated decls
2020-09-03 09:28:40 -04:00
senhuang42
a480b02044
Adjust comments and struct to better reflect FIO_ctx_t
2020-09-03 09:26:30 -04:00
senhuang42
7842f43197
Fix 1 file multifile logic, remove unnecessary variable assignments
2020-09-03 09:22:07 -04:00
senhuang42
dbe5305250
Adjusted extra explanation warning to always pop up if applicable
2020-09-02 08:44:42 -04:00
senhuang42
99039988a5
Fixed newline issue and adjusted wording in comment
2020-09-01 13:18:30 -04:00
senhuang42
3a7d625d6b
Cleanup comments, add function to set FIO_ctx_t.nbFilesProcessed
2020-09-01 12:54:21 -04:00
senhuang42
a03917c751
Fix the logic in printing final status updates
2020-09-01 12:46:06 -04:00
senhuang42
a6414f1247
Integrate refactor into status print for multifiles, adjust logic for printing as needed
2020-09-01 12:34:43 -04:00
senhuang42
565f116a56
Change name to ZSTD_NUMTHREADS
2020-09-01 09:02:23 -04:00
senhuang42
d54566f334
First pass at refactoring and creating new FIO_ctx_t */
2020-08-28 11:01:04 -04:00