Print this page
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dsl_prop.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_prop.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  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) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright (c) 2012 by Delphix. All rights reserved.
  23   24   */
  24   25  
  25   26  #ifndef _SYS_DSL_PROP_H
  26   27  #define _SYS_DSL_PROP_H
  27   28  
  28   29  #include <sys/dmu.h>
  29   30  #include <sys/dsl_pool.h>
  30   31  #include <sys/zfs_context.h>
  31   32  #include <sys/dsl_synctask.h>
  32   33  
↓ open down ↓ 49 lines elided ↑ open up ↑
  82   83  int dsl_prop_get_ds(struct dsl_dataset *ds, const char *propname,
  83   84      int intsz, int numints, void *buf, char *setpoint);
  84   85  int dsl_prop_get_dd(struct dsl_dir *dd, const char *propname,
  85   86      int intsz, int numints, void *buf, char *setpoint,
  86   87      boolean_t snapshot);
  87   88  
  88   89  dsl_syncfunc_t dsl_props_set_sync;
  89   90  int dsl_prop_set(const char *ddname, const char *propname,
  90   91      zprop_source_t source, int intsz, int numints, const void *buf);
  91   92  int dsl_props_set(const char *dsname, zprop_source_t source, nvlist_t *nvl);
  92      -void dsl_dir_prop_set_uint64_sync(dsl_dir_t *dd, const char *name, uint64_t val,
  93      -    dmu_tx_t *tx);
  94   93  
  95   94  void dsl_prop_setarg_init_uint64(dsl_prop_setarg_t *psa, const char *propname,
  96   95      zprop_source_t source, uint64_t *value);
  97   96  int dsl_prop_predict_sync(dsl_dir_t *dd, dsl_prop_setarg_t *psa);
  98   97  #ifdef  ZFS_DEBUG
  99   98  void dsl_prop_check_prediction(dsl_dir_t *dd, dsl_prop_setarg_t *psa);
 100   99  #define DSL_PROP_CHECK_PREDICTION(dd, psa)      \
 101  100          dsl_prop_check_prediction((dd), (psa))
 102  101  #else
 103  102  #define DSL_PROP_CHECK_PREDICTION(dd, psa)      /* nothing */
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX