Enhanced BIO_DELETE support & ZFS TRIM enabled by default in current

From: Steven Hartland <killing_at_multiplay.co.uk>
Date: Tue, 14 May 2013 22:18:24 +0100
Hi guys I just wanted to let everyone know that as of r249921
TRIM on ZFS is enabled by default unless you explicitly disable
it using vfs.zfs.trim.enabled in loader.conf.

Delete support for CAM SCSI now includes supporting ATA TRIM on
SCSI controllers as long as the controller supports ata_pass16
(one notable controller set which doesn't is areca).

This means controllers such as mpt, which don't natively support
SCSI UNMAP to ATA TRIM translation in FW, now gain BIO_DELETE
support via ATA TRIM if your using SATA disks.

The way the default delete_method is chosen has also changed from
a try and fail methodology to query the device details via VPD
and ATA IDENTIFY.

Delete method choice in CAM SCSI has also changed to prefer ATA
TRIM if available as testing has show that even those controllers
that support UNMAP to TRIM translation it is up to 20% slower than
using ATA TRIM via pass16. This can still be overridden using
the kern.cam.da.X.delete_method.

I'd really appreciate any feedback people have, even if that's just
confirming your running with ZFS TRIM and haven't had any issues,
as I'm looking to MFC to stable soon.

FYI: We've been running it for over 9 months now on hundreds of
machines without any real issues.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster_at_multiplay.co.uk.
Received on Tue May 14 2013 - 19:18:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC