Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 20:38:57 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS TRIM support committed to HEAD.
Message-ID:  <CAFMmRNxGc8HOsEP6vtmr_90Cczh9PeWn31dSZYKX6opE=_m_sw@mail.gmail.com>
In-Reply-To: <AE489E37693F45B887BDFB230EFBB46B@multiplay.co.uk>
References:  <20120923195357.GO1454@garage.freebsd.pl> <1735E492-3C3C-491A-82E2-884E976B4BC4@gid.co.uk> <20120923222520.GS1454@garage.freebsd.pl> <D637D49E-27B3-4169-BC27-D5A7409040B9@gid.co.uk> <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk> <20120924161654.GA1413@garage.freebsd.pl> <AE489E37693F45B887BDFB230EFBB46B@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 24, 2012 at 1:03 PM, Steven Hartland
<killing@multiplay.co.uk> wrote:
> Ahh yes looks like ATA supports BIO_DELETE via ATA_CFA_ERASE if the drive
> announces ATA_PROTO_CFA, so I can only assume this is failing when it
> shouldn't.
>
> Might be nice to investigate what's happening and fix, but as ATA is
> being replaced by CAM ATA not sure its worth it?

I believe that the code that you are looking at refers to a old
command that is only implemented by CompactFlash cards.  The ad(4)
driver does not currently support the TRIM command.  I have an
internal patch that implements it for FreeBSD 8.2; if there's interest
I could try to dig it out.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxGc8HOsEP6vtmr_90Cczh9PeWn31dSZYKX6opE=_m_sw>