From nobody Sun Feb 13 12:30:59 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 54E6719B61F4 for ; Sun, 13 Feb 2022 12:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JxRXf70Bpz3Dmy for ; Sun, 13 Feb 2022 12:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF8A51B2CD for ; Sun, 13 Feb 2022 12:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21DCUwRY084657 for ; Sun, 13 Feb 2022 12:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21DCUwEW084656 for virtualization@FreeBSD.org; Sun, 13 Feb 2022 12:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sun, 13 Feb 2022 12:30:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644755459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6LONXIFCPrCr3xKGnEYOEjzVs1QT/kYbJmsCG2vACsI=; b=UfQWRWzAX3KXWjWVkainn+oAfrR2xBhoOCEbxiD6+ndctfdMgNUEXSQ6QmjQnSXK7i+BDn rPFeq8xGSIXFaIyrkLZR42c3qUXHhDDpjDGH4KvOHiTug6/ic12hge1Fd1n0HnGSa7cP3D 8GnkaJxOsbR9h7De8pSuzDTeUTwfVB06RUvqpRNXmu+y0QLJz75Yz4VwdVAcR+ULu2G7NX a1k5XFgJIiNCRGryF5WAD6w95+Vh2ReSqP1jksM7iJvUNj9uGZhrJU3JKznpRumKwfu/HV bZ9tZ18D/ApqWgiymB+k6ooU28goesPeb+GuLuWcjkc/OeJv+r3wmTJivKUr0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644755459; a=rsa-sha256; cv=none; b=szDouey0wlaNWKn0KERtHt/PAKRo8DUsR1RGFRdd2gK6yUcbq0Wc3c94FHFOTXYs+b6oEr 31f8eH0EzUZzvnCwwTvvsuYafhwDcs2+bnMnveEskmegmvMaQZDPI4j41ZgSoaUB6gAYFb gZwZEcCHrBOP4PlG+syvAtihzUYWjFNsF2rT1E6m//Z5xw4R0i0XawOs1/I/I9Dfgaj8CR SNiLavBwZ3W4F8qWEqaEknWQog5gcPhu392SEbYjSTKKocZvlfzup2BbBsKAiKfps861ca HyTdhUNe/JF510bCnDvk9wbUJe12fXZF2Ep6Lm1T5ErP8vPDTQhc2GUO1CPsEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260200 --- Comment #6 from Aleksandr Fedorov --- 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_ra= mdisk.c#L748 --=20 You are receiving this mail because: You are the assignee for the bug.=