Date: Sat, 12 Feb 2022 11:53:24 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 260200] AHCI emulation throws CAM errors when backed by -t malloc memory disk devices Message-ID: <bug-260200-27103-JAlf2tpay1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260200-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-260200-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260200 --- Comment #3 from Aleksandr Fedorov <afedorov@FreeBSD.org> --- Second way: diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 308374f49f14..affb0780fa4a 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -643,6 +643,9 @@ mdstart_malloc(struct md_s *sc, struct bio *bp) case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + bp->bio_resid =3D 0; + return (0); default: return (EOPNOTSUPP); } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260200-27103-JAlf2tpay1>