Print this page
    
NEX-19178 Changing the NFS export path makes the SMB share offline
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
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>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/libshare/common/mapfile-vers
          +++ new/usr/src/lib/libshare/common/mapfile-vers
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  
    | 
      ↓ 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  # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright (c) 2016 by Delphix. All rights reserved.
       24 +# Copyright 2019 Nexenta Systems, Inc.  All rights reserved.
  24   25  #
  25   26  
  26   27  #
  27   28  # MAPFILE HEADER START
  28   29  #
  29   30  # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
  30   31  # Object versioning must comply with the rules detailed in
  31   32  #
  32   33  #       usr/src/lib/README.mapfiles
  33   34  #
  34   35  # You should not be making modifications here until you've read the most current
  35   36  # copy of that file. If you need help, contact a gatekeeper for guidance.
  36   37  #
  37   38  # MAPFILE HEADER END
  38   39  #
  39   40  
  40   41  $mapfile_version 2
  41   42  
  42   43  SYMBOL_VERSION SUNWprivate {
  43   44      global:
  44   45          sa_get_optionset;
  45   46          sa_create_property;
  46   47          sa_create_section;
  47   48          sa_set_section_attr;
  48   49          sa_get_property;
  49   50          sa_create_security;
  50   51          sa_update_legacy;
  51   52          sa_get_group_attr;
  52   53          sa_free_share_description;
  53   54          sa_remove_group;
  54   55          sa_add_property;
  55   56          sa_get_sub_group;
  56   57          sa_get_next_optionset;
  57   58          sa_update_property;
  58   59          sa_destroy_security;
  59   60          sa_update_sharetab;
  60   61          sa_create_protocol_properties;
  61   62          sa_get_group;
  62   63          sa_get_security;
  63   64          sa_get_protocol_property;
  64   65          sa_get_protocol_section;
  65   66          sa_add_share;
  66   67          sa_valid_group_name;
  67   68          sa_get_optionset_attr;
  68   69          sa_remove_property;
  69   70          sa_set_security_attr;
  70   71          sa_delete_sharetab;
  71   72          sa_format_free;
  72   73          sa_add_protocol_property;
  73   74          sa_check_path;
  74   75          sa_free_derived_optionset;
  75   76          sa_is_security;
  76   77          sa_get_protocols;
  77   78          sa_get_parent_group;
  78   79          sa_set_optionset_attr;
  79   80          sa_commit_properties;
  80   81          sa_parse_legacy_options;
  81   82          sa_zfs_is_shared;
  82   83          sa_share_zfs;
  83   84          sa_path_is_zfs;
  84   85          sa_get_derived_optionset;
  85   86          sa_move_share;
  86   87          sa_group_is_zfs;
  87   88          sa_update_config;
  88   89          sa_sharetab_fill_zfs;
  89   90          sa_emptyshare;
  90   91          sa_get_share_attr;
  91   92          sa_create_optionset;
  92   93          sa_valid_property;
  93   94          sa_proto_legacy_format;
  94   95          sa_proto_valid_space;
  95   96          sa_proto_space_alias;
  96   97          sa_get_next_protocol_property;
  97   98          sa_get_next_protocol_section;
  98   99          sa_remove_share;
  99  100          sa_is_share;
 100  101          sa_get_share_description;
 101  102          sa_get_share;
 102  103          sa_get_next_group;
 103  104          sa_set_share_attr;
 104  105          sa_destroy_optionset;
 105  106          sa_get_derived_security;
 106  107          sa_proto_get_properties;
  
    | 
      ↓ open down ↓ | 
    73 lines elided | 
    
      ↑ open up ↑ | 
  
 107  108          sa_get_all_security_types;
 108  109          sa_get_resource;
 109  110          sa_set_share_description;
 110  111          sa_set_group_attr;
 111  112          sa_disable_share;
 112  113          sa_get_next_property;
 113  114          sa_get_next_security;
 114  115          sa_get_protocol_status;
 115  116          sa_init;
 116  117          sa_init_arg;
      118 +        sa_service;
 117  119          sa_find_share;
 118  120          sa_set_protocol_property;
 119  121          sa_fini;
 120  122          sa_errorstr;
 121  123          sa_get_next_share;
 122  124          sa_free_attr_string;
 123  125          sa_get_property_attr;
 124  126          sa_get_security_attr;
 125  127          sa_delete_legacy;
 126  128          sa_free_derived_security;
 127  129          sa_enable_share;
 128  130          sa_enable_resource;
 129  131          sa_create_group;
 130  132          sa_valid_protocol;
 131  133          sa_find_group_handle;
 132  134          sa_add_resource;
 133  135          sa_remove_resource;
 134  136          sa_rename_resource;
 135  137          sa_get_resource;
 136  138          sa_get_next_resource;
 137  139          sa_get_resource_attr;
 138  140          sa_set_resource_attr;
 139  141          sa_get_share_resource;
 140  142          sa_get_resource_parent;
 141  143          sa_find_resource;
 142  144          sa_proto_change_notify;
  
    | 
      ↓ open down ↓ | 
    16 lines elided | 
    
      ↑ open up ↑ | 
  
 143  145          sa_proto_notify_resource;
 144  146          sa_disable_resource;
 145  147          sa_proto_get_featureset;
 146  148          sa_is_persistent;
 147  149          sa_set_resource_description;
 148  150          sa_get_resource_description;
 149  151          sa_fix_resource_name;
 150  152          sa_proto_delete_section;
 151  153          sa_needs_refresh;
 152  154          sa_get_zfs_handle;
 153      -        sa_zfs_process_share;
      155 +        sa_get_zfs_share;
 154  156          sa_update_sharetab_ts;
 155  157          sa_zfs_setprop;
 156  158      local:
 157  159          *;
 158  160  };
 159  161  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX