Print this page
4045 zfs write throttle & i/o scheduler performance work
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dmu.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dmu.h
↓ open down ↓ 212 lines elided ↑ open up ↑
 213  213          DMU_OTN_UINT32_METADATA = DMU_OT(DMU_BSWAP_UINT32, B_TRUE),
 214  214          DMU_OTN_UINT64_DATA = DMU_OT(DMU_BSWAP_UINT64, B_FALSE),
 215  215          DMU_OTN_UINT64_METADATA = DMU_OT(DMU_BSWAP_UINT64, B_TRUE),
 216  216          DMU_OTN_ZAP_DATA = DMU_OT(DMU_BSWAP_ZAP, B_FALSE),
 217  217          DMU_OTN_ZAP_METADATA = DMU_OT(DMU_BSWAP_ZAP, B_TRUE),
 218  218  } dmu_object_type_t;
 219  219  
 220  220  typedef enum txg_how {
 221  221          TXG_WAIT = 1,
 222  222          TXG_NOWAIT,
      223 +        TXG_WAITED,
 223  224  } txg_how_t;
 224  225  
 225  226  void byteswap_uint64_array(void *buf, size_t size);
 226  227  void byteswap_uint32_array(void *buf, size_t size);
 227  228  void byteswap_uint16_array(void *buf, size_t size);
 228  229  void byteswap_uint8_array(void *buf, size_t size);
 229  230  void zap_byteswap(void *buf, size_t size);
 230  231  void zfs_oldacl_byteswap(void *buf, size_t size);
 231  232  void zfs_acl_byteswap(void *buf, size_t size);
 232  233  void zfs_znode_byteswap(void *buf, size_t size);
↓ open down ↓ 580 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX