diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 5d4a52fa0693..06544925b5ca 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -5868,12 +5868,9 @@ arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, * 3. This buffer isn't currently writing to the L2ARC. * 4. The L2ARC entry wasn't evicted, which may * also have invalidated the vdev. - * 5. This isn't prefetch or l2arc_noprefetch is 0. */ if (HDR_HAS_L2HDR(hdr) && - !HDR_L2_WRITING(hdr) && !HDR_L2_EVICTED(hdr) && - !(l2arc_noprefetch && - (*arc_flags & ARC_FLAG_PREFETCH))) { + !HDR_L2_WRITING(hdr) && !HDR_L2_EVICTED(hdr)) { l2arc_read_callback_t *cb; abd_t *abd; uint64_t asize;