Print this page
OS-1566 filesystem limits for ZFS datasets

Split Close
Expand all
Collapse all
          --- old/usr/src/common/zfs/zfeature_common.c
          +++ new/usr/src/common/zfs/zfeature_common.c
↓ 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) 2012 by Delphix. All rights reserved.
       24 + * Copyright (c) 2012 Joyent, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #ifdef _KERNEL
  27   28  #include <sys/systm.h>
  28   29  #else
  29   30  #include <errno.h>
  30   31  #include <string.h>
  31   32  #endif
  32   33  #include <sys/debug.h>
  33   34  #include <sys/fs/zfs.h>
↓ open down ↓ 115 lines elided ↑ open up ↑
 149  150  
 150  151  void
 151  152  zpool_feature_init(void)
 152  153  {
 153  154          zfeature_register(SPA_FEATURE_ASYNC_DESTROY,
 154  155              "com.delphix:async_destroy", "async_destroy",
 155  156              "Destroy filesystems asynchronously.", B_TRUE, B_FALSE, NULL);
 156  157          zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
 157  158              "com.delphix:empty_bpobj", "empty_bpobj",
 158  159              "Snapshots use less space.", B_TRUE, B_FALSE, NULL);
      160 +        zfeature_register(SPA_FEATURE_FS_SS_LIMIT,
      161 +            "com.joyent:filesystem_limits", "filesystem_limits",
      162 +            "Filesystem and snapshot limits.", B_TRUE, B_FALSE, NULL);
 159  163  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX