populate_verify_io_u(td, io_u);
do_scramble = 0;
}
+#ifdef CONFIG_CUDA
+ if (td->o.mem_type == MEM_CUDA_MALLOC)
+ do_scramble = 0;
+#endif
} else if (io_u->ddir == DDIR_READ) {
/*
* Reset the buf_filled parameters so next time if the
if (!td_io_prep(td, io_u)) {
if (!td->o.disable_lat)
fio_gettime(&io_u->start_time, NULL);
+
if (do_scramble)
small_content_scramble(io_u);
+
return io_u;
}
err_put:
{
struct thread_options *o = &td->o;
+#ifdef CONFIG_CUDA
+ if (o->mem_type == MEM_CUDA_MALLOC) return;
+#endif
+
if (o->compress_percentage || o->dedupe_percentage) {
unsigned int perc = td->o.compress_percentage;
struct frand_state *rs;