[Bug 255131] kernel panic using zfs on shsec

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jan 2022 15:15:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255131

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a2dfffb98917a57bfacb155b9d7d423c3e8ff792

commit a2dfffb98917a57bfacb155b9d7d423c3e8ff792
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-01-27 14:53:02 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-01-27 14:56:07 +0000

    shsec: Allocate data blocks only for BIO_READ/WRITE requests

    In particular, there is no need to allocate a data block when passing
    BIO_FLUSH requests to child providers, and g_io_request() asserts that
    bp->bio_data == NULL for such requests.

    PR:             255131
    Reported and tested by: nvass@gmx.com
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation

 sys/geom/shsec/g_shsec.c | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

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