Print this page
8115 parallel zfs mount

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2017 RackTop Systems. */ #ifndef _SYS_CPUPART_H #define _SYS_CPUPART_H
*** 38,48 **** #ifdef __cplusplus extern "C" { #endif ! #ifdef _KERNEL typedef int cpupartid_t; /* * Special partition id. --- 39,49 ---- #ifdef __cplusplus extern "C" { #endif ! #if defined(_KERNEL) || defined(_FAKE_KERNEL) typedef int cpupartid_t; /* * Special partition id.
*** 146,156 **** extern int cpupart_get_loadavg(psetid_t, int *, int); extern uint_t cpupart_list(psetid_t *, uint_t, int); extern int cpupart_setattr(psetid_t, uint_t); extern int cpupart_getattr(psetid_t, uint_t *); ! #endif /* _KERNEL */ #ifdef __cplusplus } #endif --- 147,157 ---- extern int cpupart_get_loadavg(psetid_t, int *, int); extern uint_t cpupart_list(psetid_t *, uint_t, int); extern int cpupart_setattr(psetid_t, uint_t); extern int cpupart_getattr(psetid_t, uint_t *); ! #endif /* _KERNEL || _FAKE_KERNEL */ #ifdef __cplusplus } #endif