From nobody Sun May 14 00:11:01 2023 X-Original-To: bugs@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 4QJjZt1dBLz49yNm for ; Sun, 14 May 2023 00:11:02 +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 4QJjZs5kCRz4HV7 for ; Sun, 14 May 2023 00:11:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684023061; 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; bh=/maR2IrELjmM3Calu51Hdqm2M169e+TSS7PJMnKdx7s=; b=bYoWWoA38/VtMaHlkFR52On3pgfsVNwpDB7UXy74v9rE1+P83W+wX9+LT5Nayy7Zterrc7 +VinGnZrbfXjhXP/Mhxsb9GjRhp1lQHRKdx4PlHntnTiq8iv3amHWmPS7139GBMpE6XBCX O+3jxJ5mez4SZ/RNNpZpr3ZhXwNL0fRGD5FAB0l0xCBbGqNgWOmwm+qZleH/A4sr0ZC5IK EF4nEkz3P4NVkJ3KuGLWTT9FemVK+8KvFG4t2f8O2Wa/QR3wPHw2T6GgvTYw9vRQvA9dcS gz0E+Hrj4vwuy++zOyOWBh0cg3X24HrZTw/EFQGCz7D1I+ri5cFddjS3vg5p1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684023061; a=rsa-sha256; cv=none; b=Cu+s19l67ftJSgIiJ0Eo55ASNQlwMlAW5oSFXc9KieZAU6eQMPsk3si9u5NJowKWPIoEZO YCMOCIcAumiYEaeOV92/64rff2NiT7/dMbtXeDMVfycpUwasNfSdWNCxxKZluSYkTVPJ62 2/Y6JhA6y5MVjKtceKVBwXrutA1pNKugrwfnpAHXl+pEW+CzrpOqFbEK6Ag2u79jjUXucX 7HwIXw3Il7/9h4iuLACutlBS3k6qTPjgGOa3PbRhzKx8DHNvnp8o5L7PfrtrKaHhtI6bY0 G2mv+bPA4nd5bhkvY4YnUc+u3klE78B1pKaTscgfkFpro4TUfzGx3wi3WPWSLA== 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 4QJjZs4qnKzcvT for ; Sun, 14 May 2023 00:11:01 +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 34E0B1rG050818 for ; Sun, 14 May 2023 00:11:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34E0B1qN050780 for bugs@FreeBSD.org; Sun, 14 May 2023 00:11:01 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: bugs@FreeBSD.org Subject: [Bug 271402] graid3 appears to implement BIO_DELETE but does not advertise GEOM::candelete support Date: Sun, 14 May 2023 00:11:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: noah.bergbauer@tum.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271402 Bug ID: 271402 Summary: graid3 appears to implement BIO_DELETE but does not advertise GEOM::candelete support Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: noah.bergbauer@tum.de Looking at the code suggests that graid3 might support BIO_DELETE requests,= but it unconditionally returns EOPNOTSUPP in response to BIO_GETATTR. Hence, wh= en UFS (or userspace tools like trim) attempt to use TRIM/UNMAP, the check for GEOM::candelete fails and the operation is treated as unsupported. This is unfortunate given that it presents a major obstacle for using SSDs = with graid3. --=20 You are receiving this mail because: You are the assignee for the bug.=