Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2023 00:11:01 +0000
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
Message-ID:  <bug-271402-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271402

            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, when
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.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271402-227>