MCPcopy Create free account
hub / github.com/F-Stack/f-stack / l2arc_blk_fetch_done

Function l2arc_blk_fetch_done

freebsd/contrib/openzfs/module/zfs/arc.c:9035–9044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9033}
9034
9035static void
9036l2arc_blk_fetch_done(zio_t *zio)
9037{
9038 l2arc_read_callback_t *cb;
9039
9040 cb = zio->io_private;
9041 if (cb->l2rcb_abd != NULL)
9042 abd_put(cb->l2rcb_abd);
9043 kmem_free(cb, sizeof (l2arc_read_callback_t));
9044}
9045
9046/*
9047 * Find and write ARC buffers to the L2ARC device.

Callers

nothing calls this directly

Calls 2

abd_putFunction · 0.85
kmem_freeFunction · 0.50

Tested by

no test coverage detected