Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/module/zfs/arc.c
Context not available. | |||||
l2arc_write_callback_t *cb = NULL; | l2arc_write_callback_t *cb = NULL; | ||||
zio_t *pio, *wzio; | zio_t *pio, *wzio; | ||||
uint64_t guid = spa_load_guid(spa); | uint64_t guid = spa_load_guid(spa); | ||||
l2arc_dev_hdr_phys_t *l2dhdr = dev->l2ad_dev_hdr; | |||||
ASSERT3P(dev->l2ad_vdev, !=, NULL); | ASSERT3P(dev->l2ad_vdev, !=, NULL); | ||||
Context not available. | |||||
* Although we did not write any buffers l2ad_evict may | * Although we did not write any buffers l2ad_evict may | ||||
* have advanced. | * have advanced. | ||||
*/ | */ | ||||
l2arc_dev_hdr_update(dev); | if (dev->l2ad_evict != l2dhdr->dh_evict) | ||||
l2arc_dev_hdr_update(dev); | |||||
return (0); | return (0); | ||||
} | } | ||||
Context not available. |