[Bug 279038] zfs panic: VERIFY3(dev->l2ad_hand + distance < dev->l2ad_end) failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 May 2024 15:33:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279038

            Bug ID: 279038
           Summary: zfs panic: VERIFY3(dev->l2ad_hand + distance <
                    dev->l2ad_end) failed
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

While receiving incremental rsync data over the network my server crashed with
message

panic: VERIFY3(dev->l2ad_hand + distance < dev->l2ad_end) failed (161060749312
< 161060749312)

Looking at arc.c, end of function l2arc_evict, I wonder if < should be <=.

The relevant variables are

 l2ad_hand = 161051246592
 l2ad_start = 4198400
 l2ad_end = 161060749312
 l2ad_first = 0
 l2ad_writing = 0

 distance = 9502720

# zfs version
zfs-2.1.15-FreeBSD_gfb6d53206
zfs-kmod-2.1.15-FreeBSD_gd99134be8

The server has a raidz2 pool on 3.5 inch hard drives with a cache on SSD.  RAM
is 24 GB and there is no other pressure on memory or CPU.

-- 
You are receiving this mail because:
You are the assignee for the bug.