-
- if (td->o.mem_align) {
- if (td->o.odirect && !is_power_of_2(td->o.mem_align)) {
- log_err("fio: given IO mem alignment conflicts with"
- " direct=1. Resetting.\n");
- td->o.mem_align = page_mask;
- }
+ if (td->io_ops->flags & FIO_PIPEIO)
+ log_info("fio: cannot pre-read files with an IO engine"
+ " that isn't seekable. Pre-read disabled.\n");