| commit | 8bf237030058090e0a8d9f117f598c4cf32072af | [log] [tgz] |
|---|---|---|
| author | alex310110 <xqiu@google.com> | Mon Dec 29 11:45:43 2025 -0800 |
| committer | GitHub <noreply@github.com> | Mon Dec 29 11:45:43 2025 -0800 |
| tree | d1de2b75d234b4ebaf75cf5d30b2e88478847152 | |
| parent | d028bdcb8515a29eb683a23b0a88c398cfe4d687 [diff] |
write_hist_log: do not require ZLIB for non-server instances Since `td->client_type` is always non-zero (CLI is 1, GUI is 2), the check `if (td->client_type)` in `init.c` always triggers, causing --write_hist_log to be unusable when ZLIB is not configured for standalone runs. By checking if the fio instance `is_backend`, ZLIB availability will be checked for fio running as server in server/client mode, and the check will be passed for fio running in standalone mode.