Print this page
zpool import speedup

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dmu_objset.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dmu_objset.h
↓ open down ↓ 127 lines elided ↑ open up ↑
 128  128  #define DMU_GROUPUSED_DNODE(os) ((os)->os_groupused_dnode.dnh_dnode)
 129  129  
 130  130  #define DMU_OS_IS_L2CACHEABLE(os)                               \
 131  131          ((os)->os_secondary_cache == ZFS_CACHE_ALL ||           \
 132  132          (os)->os_secondary_cache == ZFS_CACHE_METADATA)
 133  133  
 134  134  #define DMU_OS_IS_L2COMPRESSIBLE(os)    (zfs_mdcomp_disable == B_FALSE)
 135  135  
 136  136  /* called from zpl */
 137  137  int dmu_objset_hold(const char *name, void *tag, objset_t **osp);
      138 +int dmu_objset_hold_nolock(const char *name, void *tag, objset_t **osp);
 138  139  int dmu_objset_own(const char *name, dmu_objset_type_t type,
 139  140      boolean_t readonly, void *tag, objset_t **osp);
      141 +int dmu_objset_own_nolock(const char *name, dmu_objset_type_t type,
      142 +    boolean_t readonly, void *tag, objset_t **osp);
 140  143  void dmu_objset_refresh_ownership(objset_t *os, void *tag);
 141  144  void dmu_objset_rele(objset_t *os, void *tag);
 142  145  void dmu_objset_disown(objset_t *os, void *tag);
 143  146  int dmu_objset_from_ds(struct dsl_dataset *ds, objset_t **osp);
 144  147  
 145  148  void dmu_objset_stats(objset_t *os, nvlist_t *nv);
 146  149  void dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *stat);
 147  150  void dmu_objset_space(objset_t *os, uint64_t *refdbytesp, uint64_t *availbytesp,
 148  151      uint64_t *usedobjsp, uint64_t *availobjsp);
 149  152  uint64_t dmu_objset_fsid_guid(objset_t *os);
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX