Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/lgrp_user.h
          +++ new/usr/src/uts/common/sys/lgrp_user.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       24 + * Copyright 2017 RackTop Systems.
  24   25   *
  25   26   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  26   27   * Use is subject to license terms.
  27   28   */
  28   29  
  29   30  #ifndef _LGRP_USER_H
  30   31  #define _LGRP_USER_H
  31   32  
  32   33  /*
  33   34   * latency group definitions for user
↓ open down ↓ 201 lines elided ↑ open up ↑
 235  236          caddr32_t       ss_lgrpset;     /* bit mask of available lgroups */
 236  237          caddr32_t       ss_parents;     /* lgroup parent bit masks */
 237  238          caddr32_t       ss_children;    /* lgroup children bit masks */
 238  239          caddr32_t       ss_rsets;       /* lgroup resource set bit masks */
 239  240          caddr32_t       ss_latencies;   /* latencies between lgroups */
 240  241  } lgrp_snapshot_header32_t;
 241  242  
 242  243  #endif  /* _SYSCALL32 */
 243  244  
 244  245  
 245      -#if (!defined(_KERNEL) && !defined(_KMEMUSER))
      246 +#if !defined(_KERNEL) && !defined(_FAKE_KERNEL) && !defined(_KMEMUSER)
 246  247  
 247  248  lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
 248  249  
 249  250  int             lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp,
 250  251      lgrp_affinity_t aff);
 251  252  
 252  253  int             lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp,
 253  254      lgrp_id_t *children, uint_t count);
 254  255  
 255  256  int             lgrp_cookie_stale(lgrp_cookie_t cookie);
↓ open down ↓ 22 lines elided ↑ open up ↑
 278  279  
 279  280  int             lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp,
 280  281      lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type);
 281  282  
 282  283  lgrp_id_t       lgrp_root(lgrp_cookie_t cookie);
 283  284  
 284  285  int             lgrp_version(int version);
 285  286  
 286  287  lgrp_view_t     lgrp_view(lgrp_cookie_t cookie);
 287  288  
 288      -#endif  /* !_KERNEL && !_KMEMUSER */
      289 +#endif  /* !_KERNEL && !_FAKE_KERNEL && !_KMEMUSER */
 289  290  
 290  291  #ifdef  __cplusplus
 291  292  }
 292  293  #endif
 293  294  
 294  295  #endif /* _LGRP_USER_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX