Print this page
NEX-16219 pool import performance regression due to repeated libshare initialization
Reviewd by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-3673 CLONE NEX-2525 Customer cannot set Share Properties using MMC in Windows Server 2008 R2
Reviewed by: Alek Pinchuk <alek@nexenta.com>
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshare/common/libshare.h
          +++ new/usr/src/lib/libshare/common/libshare.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
       24 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  25   25   * Copyright (c) 2016 by Delphix. All rights reserved.
  26   26   */
  27   27  
  28   28  /*
  29   29   * basic API declarations for share management
  30   30   */
  31   31  
  32   32  #ifndef _LIBSHARE_H
  33   33  #define _LIBSHARE_H
  34   34  
↓ open down ↓ 129 lines elided ↑ open up ↑
 164  164  /*
 165  165   * SMF related
 166  166   */
 167  167  
 168  168  #define SA_SVC_FMRI_BASE        "svc:/network/shares/group"
 169  169  
 170  170  /* initialization */
 171  171  extern sa_handle_t sa_init(int);
 172  172  extern sa_handle_t sa_init_arg(int, void *);
 173  173  extern void sa_fini(sa_handle_t);
      174 +extern int sa_service(sa_handle_t);
      175 +
 174  176  extern int sa_update_config(sa_handle_t);
 175  177  extern boolean_t sa_needs_refresh(sa_handle_t);
 176  178  extern char *sa_errorstr(int);
 177  179  
 178  180  /* protocol names */
 179  181  extern int sa_get_protocols(char ***);
 180  182  extern int sa_valid_protocol(char *);
 181  183  
 182  184  /* group control (create, remove, etc) */
 183  185  extern sa_group_t sa_create_group(sa_handle_t, char *, int *);
↓ open down ↓ 125 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX