Hi Alan,

On Tue, Apr 18, 2017 at 12:02 PM, Alan Somers <asom...@freebsd.org> wrote:
> This change is causing panics when I try to create a zpool on an SSD.
>
> ... (reordered slightly)
>
> The
> offending line is the biotrack call in scsi_da.c at line 4172; bp is
> apparently null.  Could you please review this change and ensure that
> biotrack is appropriately guarded?

If it is valid for bp to be NULL in that path, then of course a NULL
guard needs to be added.

I'm a little confused on why or if it is valid for bp to be NULL in
that path.  You are the only one who has reported this since October
of last year.  Is it possible some other issue is now resulting in a
NULL bp?

> The SSD is obviously having problems; it fails UNMAP commands with
> ILLEGAL REQUEST, and then fails WRITE SAME with a timeout.

Well, that could definitely explain a weird error case.  Still,
shouldn't the CCB keep the bp associated through CCB completion?

Thanks,
Conrad
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to