Steven Hartland e05aad2d33 Add TRIM support for L2ARC.
This adds TRIM support to cache vdevs. When ARC buffers are removed
from the L2ARC in arc_hdr_destroy(), arc_release() or l2arc_evict(),
the size previously occupied by the buffer gets scheduled for TRIMming.
As always, actual TRIMs are only issued to the L2ARC after
txg_trim_limit.

Reviewed by:	pjd (mentor)
Approved by:	pjd (mentor)
Obtained from:	31aae37399
MFC after:	2 weeks
2013-03-21 09:34:41 +00:00
..
2013-03-02 21:11:30 +00:00
2013-03-21 09:34:41 +00:00
2012-11-01 04:07:08 +00:00
2013-03-21 07:04:17 +00:00
2013-03-19 05:51:47 +00:00
2013-02-21 12:52:18 +00:00
2013-02-28 13:46:03 +00:00