Date: Sat, 21 Sep 2013 03:52:08 +0000 (UTC) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255753 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201309210352.r8L3q80j019374@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gibbs Date: Sat Sep 21 03:52:08 2013 New Revision: 255753 URL: http://svnweb.freebsd.org/changeset/base/255753 Log: 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 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Sat Sep 21 01:07:27 2013 (r255752) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Sat Sep 21 03:52:08 2013 (r255753) @@ -5387,6 +5387,8 @@ l2arc_add_vdev(spa_t *spa, vdev_t *vd) ASSERT(!l2arc_vdev_present(vd)); + vdev_ashift_optimize(vd); + /* * Create a new l2arc device entry. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309210352.r8L3q80j019374>