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