Optimize the block size used on ZFS cache devices as is already done

for data and log devices.

Reported by:	Dmitryy Makarov
Submitted by:	smh
Reviewed by:	gibbs
Approved by:	re (delphij)
MFC after:	2 weeks
This commit is contained in:
Justin T. Gibbs 2013-09-21 03:52:08 +00:00
parent 91aff61084
commit 69d1b777e8

View File

@ -5387,6 +5387,8 @@ l2arc_add_vdev(spa_t *spa, vdev_t *vd)
ASSERT(!l2arc_vdev_present(vd)); ASSERT(!l2arc_vdev_present(vd));
vdev_ashift_optimize(vd);
/* /*
* Create a new l2arc device entry. * Create a new l2arc device entry.
*/ */