[Bug 271402] graid3 appears to implement BIO_DELETE but does not advertise GEOM::candelete support
Date: Sun, 14 May 2023 00:11:01 UTC
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.