[Bug 232676] gconcat fails to advertise delete capability

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 25 13:37:33 UTC 2018


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

            Bug ID: 232676
           Summary: gconcat fails to advertise delete capability
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: noah.bergbauer at tum.de

gconcat appears to correctly forward BIO_DELETE requests to the underlying
providers but has no code to handle queries for the candelete attribute. As a
result things TRIM/DISCARD will not work properly through gconcat (e.g. ufs
won't try to use it and print a warning instead).

I think gconcat should advertise delete support whenever any component does.
Those that don't can just ignore it - besides, mixed configurations should be
rather uncommon.

As a sidenote, overriding the candelete property seems like the kind of thing
gnop should be able to do.

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


More information about the freebsd-bugs mailing list