Bug 173116

Summary: Add sysctl to enable / disable ZFS device full trim on init (patch included)
Product: Base System Reporter: Steven Hartland <steven.hartland>
Component: kernAssignee: Steven Hartland <smh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Steven Hartland 2012-10-26 09:50:02 UTC
Added vfs.zfs.vdev.trim_on_init sysctl which allows full vdev trim on
initialisation to be enabled (1) / disabled (0) defaults to enabled.

This is useful for devices which have a slow trim speed and are either
new or have otherwise already been wiped e.g. secure erase.

Fix: Apply the attached patch

Patch attached with submission follows:
How-To-Repeat: N/A
Comment 1 Steven Hartland freebsd_committer freebsd_triage 2012-12-11 14:08:56 UTC
Responsible Changed
From-To: freebsd-bugs->smh

I'll take it.
Comment 2 Steven Hartland freebsd_committer freebsd_triage 2012-12-13 17:39:34 UTC
State Changed
From-To: open->closed

patched in head/ with r244188