From: João Neto Date: Fri, 5 Oct 2018 23:34:03 +0000 (+0100) Subject: Be careful when defining `MPOL_LOCAL` X-Git-Tag: fio-3.12~22^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2048d33fe36bf46f91785e8010f65d875501d410 Be careful when defining `MPOL_LOCAL` `MPOL_LOCAL` will be defined in `numaif.h` in the future. Also, `MPOL_MAX` will be changed to match the kernel values. --- diff --git a/fio.h b/fio.h index 7b6611a0..53bcda13 100644 --- a/fio.h +++ b/fio.h @@ -57,7 +57,9 @@ /* * "local" is pseudo-policy */ -#define MPOL_LOCAL MPOL_MAX +#ifndef MPOL_LOCAL +#define MPOL_LOCAL 4 +#endif #endif #ifdef CONFIG_CUDA