Home
last modified time | relevance | path

Searched refs:spa_l2cache (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dspa.c2059 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2066 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2068 if (spa->spa_l2cache.sav_config) { in spa_unload()
2070 spa->spa_l2cache.sav_config = NULL; in spa_unload()
2072 spa->spa_l2cache.sav_count = 0; in spa_unload()
4761 spa->spa_l2cache.sav_sync = B_TRUE;
5873 if (spa->spa_l2cache.sav_count == 0)
6431 spa->spa_l2cache.sav_sync = B_TRUE;
6646 if (spa->spa_l2cache.sav_config) {
6648 spa->spa_l2cache.sav_config = NULL;
[all …]
H A Dspa_config.c357 for (int i = 0; i < target->spa_l2cache.sav_count; i++) in spa_write_cachefile()
358 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
H A Dvdev_label.c1773 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1775 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1799 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1800 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1801 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
H A Dvdev_trim.c1126 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_stop_all()
1127 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1675 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_l2arc()
1676 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2444 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
2445 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2470 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2473 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
H A Darc.c5875 spa->spa_l2cache.sav_count > 0; in arc_read()
9733 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
9735 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
H A Dvdev.c2733 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h268 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ member
/freebsd-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c3394 sav = &spa->spa_l2cache; in ztest_vdev_aux_add_remove()
6163 spa_aux_vdev_t *sav = &spa->spa_l2cache; in ztest_fault_inject()
/freebsd-14.2/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8046 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()