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_userhold.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_userhold.h
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  #endif
  37   37  
  38   38  struct dsl_pool;
  39   39  struct dsl_dataset;
  40   40  struct dmu_tx;
  41   41  
  42   42  int dsl_dataset_user_hold(nvlist_t *holds, minor_t cleanup_minor,
  43   43      nvlist_t *errlist);
  44   44  int dsl_dataset_user_release(nvlist_t *holds, nvlist_t *errlist);
  45   45  int dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl);
  46      -void dsl_dataset_user_release_tmp(struct dsl_pool *dp, uint64_t dsobj,
  47      -    const char *htag);
       46 +void dsl_dataset_user_release_tmp(struct dsl_pool *dp, nvlist_t *holds);
  48   47  int dsl_dataset_user_hold_check_one(struct dsl_dataset *ds, const char *htag,
  49   48      boolean_t temphold, struct dmu_tx *tx);
  50   49  void dsl_dataset_user_hold_sync_one(struct dsl_dataset *ds, const char *htag,
  51   50      minor_t minor, uint64_t now, struct dmu_tx *tx);
  52   51  
  53   52  #ifdef  __cplusplus
  54   53  }
  55   54  #endif
  56   55  
  57   56  #endif /* _SYS_DSL_USERHOLD_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX