Explorar el Código

Restore testing O_DIRECT in variable_size

Samuel Thibault hace 5 años
padre
commit
d69a661bdd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/datawizard/variable_size.c

+ 1 - 1
tests/datawizard/variable_size.c

@@ -296,7 +296,7 @@ int main(void)
 	setenv("STARPU_LIMIT_CPU_MEM", LIMIT, 1);
 	setenv("STARPU_DISK_SWAP", s, 0);
 	setenv("STARPU_DISK_SWAP_SIZE", "100000", 1);
-#if 0 //def STARPU_LINUX_SYS
+#ifdef STARPU_LINUX_SYS
 	setenv("STARPU_DISK_SWAP_BACKEND", "unistd_o_direct", 0);
 #else
 	setenv("STARPU_DISK_SWAP_BACKEND", "unistd", 0);