Re: ZFS trim patches

2013-07-20 Thread Per olof Ljungmark
On 2013-07-20 07:25, aurfalien wrote:
 Hi,
 
 Is this;
 
 http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html
 
 ... available in the form of a patch for stable rels?
 
 Its ZFS TRIM support.
 

According to /usr/src/UPDATING, yes:


20130605:
Added ZFS TRIM support which is enabled by default. To disable
ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf.

Creating new ZFS pools and adding new devices to existing pools
first performs a full device level TRIM which can take a significant
amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0
to disable this behaviour.

ZFS TRIM requires the underlying device support BIO_DELETE which
is currently provided by methods such as ATA TRIM and SCSI UNMAP
via CAM, which are typically supported by SSD's.

Stats for ZFS TRIM can be monitored by looking at the sysctl's
under kstat.zfs.misc.zio_trim.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS trim patches

2013-07-19 Thread aurfalien
Hi,

Is this;

http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html

... available in the form of a patch for stable rels?

Its ZFS TRIM support.

- aurf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org