[Bug 260200] AHCI emulation throws CAM errors when backed by -t malloc memory disk devices

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Feb 2022 12:30:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260200

--- Comment #6 from Aleksandr Fedorov <afedorov@FreeBSD.org> ---
I think the swap backend should also ignore the BIO_FLUSH command. Because swap
is not a persistent storage, I don't know how BIO_FLUSH can be useful.

As for ctl(4), it works with SCSI commands. Ramdisk backend simply ignores the
SYNCHRONIZE_CACHE and SYNCHRONIZE_CACHE_16 commands:
https://github.com/freebsd/freebsd-src/blob/main/sys/cam/ctl/ctl_backend_ramdisk.c#L748

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