This is a platform restriction at best, eg on Linux block devices must
have 512b memory buffer alignment (or hw sector size). With NFS, this
is not required. And other operating systems may have other limitations
as well, so don't hard core anything.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
" that isn't seekable. Pre-read disabled.\n");
}
" that isn't seekable. Pre-read disabled.\n");
}
- 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;
- }
- }
-