Print this page
3740 Poor ZFS send / receive performance due to snapshot hold / release processing
Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
↓ open down ↓ 179 lines elided ↑ open up ↑
 180  180  int dsl_dataset_hold_obj(struct dsl_pool *dp, uint64_t dsobj, void *tag,
 181  181      dsl_dataset_t **);
 182  182  void dsl_dataset_rele(dsl_dataset_t *ds, void *tag);
 183  183  int dsl_dataset_own(struct dsl_pool *dp, const char *name,
 184  184      void *tag, dsl_dataset_t **dsp);
 185  185  int dsl_dataset_own_obj(struct dsl_pool *dp, uint64_t dsobj,
 186  186      void *tag, dsl_dataset_t **dsp);
 187  187  void dsl_dataset_disown(dsl_dataset_t *ds, void *tag);
 188  188  void dsl_dataset_name(dsl_dataset_t *ds, char *name);
 189  189  boolean_t dsl_dataset_tryown(dsl_dataset_t *ds, void *tag);
 190      -void dsl_register_onexit_hold_cleanup(dsl_dataset_t *ds, const char *htag,
 191      -    minor_t minor);
 192  190  uint64_t dsl_dataset_create_sync(dsl_dir_t *pds, const char *lastname,
 193  191      dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *);
 194  192  uint64_t dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin,
 195  193      uint64_t flags, dmu_tx_t *tx);
 196  194  int dsl_dataset_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t *errors);
 197  195  int dsl_dataset_promote(const char *name, char *conflsnap);
 198  196  int dsl_dataset_clone_swap(dsl_dataset_t *clone, dsl_dataset_t *origin_head,
 199  197      boolean_t force);
 200  198  int dsl_dataset_rename_snapshot(const char *fsname,
 201  199      const char *oldsnapname, const char *newsnapname, boolean_t recursive);
↓ open down ↓ 86 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX