Print this page
zpool import speedup

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dsl_pool.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_pool.h
↓ open down ↓ 157 lines elided ↑ open up ↑
 158  158  
 159  159  taskq_t *dsl_pool_vnrele_taskq(dsl_pool_t *dp);
 160  160  
 161  161  int dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj,
 162  162      const char *tag, uint64_t now, dmu_tx_t *tx);
 163  163  int dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj,
 164  164      const char *tag, dmu_tx_t *tx);
 165  165  void dsl_pool_clean_tmp_userrefs(dsl_pool_t *dp);
 166  166  int dsl_pool_open_special_dir(dsl_pool_t *dp, const char *name, dsl_dir_t **);
 167  167  int dsl_pool_hold(const char *name, void *tag, dsl_pool_t **dp);
      168 +int dsl_pool_hold_lock(const char *name, void *tag, dsl_pool_t **dp, int lock);
 168  169  void dsl_pool_rele(dsl_pool_t *dp, void *tag);
      170 +void dsl_pool_rele_spa(dsl_pool_t *dp, void *tag);
 169  171  
 170  172  #ifdef  __cplusplus
 171  173  }
 172  174  #endif
 173  175  
 174  176  #endif /* _SYS_DSL_POOL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX