Print this page
3525 Persistent L2ARC

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 ↓ 119 lines elided ↑ open up ↑
 120  120  void arc_tempreserve_clear(uint64_t reserve);
 121  121  int arc_tempreserve_space(uint64_t reserve, uint64_t txg);
 122  122  
 123  123  void arc_init(void);
 124  124  void arc_fini(void);
 125  125  
 126  126  /*
 127  127   * Level 2 ARC
 128  128   */
 129  129  
 130      -void l2arc_add_vdev(spa_t *spa, vdev_t *vd);
      130 +void l2arc_add_vdev(spa_t *spa, vdev_t *vd, boolean_t rebuild);
 131  131  void l2arc_remove_vdev(vdev_t *vd);
 132  132  boolean_t l2arc_vdev_present(vdev_t *vd);
 133  133  void l2arc_init(void);
 134  134  void l2arc_fini(void);
 135  135  void l2arc_start(void);
 136  136  void l2arc_stop(void);
      137 +void l2arc_spa_rebuild_start(spa_t *spa);
 137  138  
 138  139  #ifndef _KERNEL
 139  140  extern boolean_t arc_watch;
 140  141  extern int arc_procfd;
 141  142  #endif
 142  143  
 143  144  #ifdef  __cplusplus
 144  145  }
 145  146  #endif
 146  147  
 147  148  #endif /* _SYS_ARC_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX