projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for async IO verification offload
[fio.git]
/
os
/
os-solaris.h
diff --git
a/os/os-solaris.h
b/os/os-solaris.h
index b58d1308efc49e4bd1cf0d530256f90e9e076afd..56729565b127631b2061258c7a9e373e47da7f21 100644
(file)
--- a/
os/os-solaris.h
+++ b/
os/os-solaris.h
@@
-69,8
+69,8
@@
static inline int fio_set_odirect(int fd)
/*
* pset binding hooks for fio
*/
/*
* pset binding hooks for fio
*/
-#define fio_setaffinity(
td)
\
- pset_bind(
(td)->o.cpumask, P_PID, (td)->pid
, NULL)
+#define fio_setaffinity(
pid, cpumask)
\
+ pset_bind(
&(cpumask), P_PID, (pid)
, NULL)
#define fio_getaffinity(pid, ptr) ({ 0; })
#define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL)
#define fio_getaffinity(pid, ptr) ({ 0; })
#define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL)