projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
workqueue: add nice support
[fio.git]
/
iolog.c
diff --git
a/iolog.c
b/iolog.c
index 82b2b8a3ec40084853655a42d5494a4e9bbf91bf..d7c8a45dae4dbe9a4bf577ba4fcbaf5e9ae35a94 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-594,7
+594,7
@@
void setup_log(struct io_log **log, struct log_params *p,
if (l->log_gz && !p->td)
l->log_gz = 0;
- else if (l->log_gz) {
+ else if (l->log_gz
|| l->log_gz_store
) {
pthread_mutex_init(&l->chunk_lock, NULL);
p->td->flags |= TD_F_COMPRESS_LOG;
}