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/arc.h
          +++ new/usr/src/uts/common/fs/zfs/sys/arc.h
↓ open down ↓ 96 lines elided ↑ open up ↑
  97   97  int arc_released(arc_buf_t *buf);
  98   98  int arc_has_callback(arc_buf_t *buf);
  99   99  void arc_buf_freeze(arc_buf_t *buf);
 100  100  void arc_buf_thaw(arc_buf_t *buf);
 101  101  boolean_t arc_buf_eviction_needed(arc_buf_t *buf);
 102  102  #ifdef ZFS_DEBUG
 103  103  int arc_referenced(arc_buf_t *buf);
 104  104  #endif
 105  105  
 106  106  int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
 107      -    arc_done_func_t *done, void *private, int priority, int flags,
      107 +    arc_done_func_t *done, void *private, zio_priority_t priority, int flags,
 108  108      uint32_t *arc_flags, const zbookmark_t *zb);
 109  109  zio_t *arc_write(zio_t *pio, spa_t *spa, uint64_t txg,
 110  110      blkptr_t *bp, arc_buf_t *buf, boolean_t l2arc, boolean_t l2arc_compress,
 111      -    const zio_prop_t *zp, arc_done_func_t *ready, arc_done_func_t *done,
 112      -    void *private, int priority, int zio_flags, const zbookmark_t *zb);
      111 +    const zio_prop_t *zp, arc_done_func_t *ready, arc_done_func_t *physdone,
      112 +    arc_done_func_t *done, void *private, zio_priority_t priority,
      113 +    int zio_flags, const zbookmark_t *zb);
 113  114  void arc_freed(spa_t *spa, const blkptr_t *bp);
 114  115  
 115  116  void arc_set_callback(arc_buf_t *buf, arc_evict_func_t *func, void *private);
 116  117  int arc_buf_evict(arc_buf_t *buf);
 117  118  
 118  119  void arc_flush(spa_t *spa);
 119  120  void arc_tempreserve_clear(uint64_t reserve);
 120  121  int arc_tempreserve_space(uint64_t reserve, uint64_t txg);
 121  122  
 122  123  void arc_init(void);
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX