Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 10:21:21 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r289304 - vendor-sys/illumos/dist/uts/common/fs/zfs
Message-ID:  <201510141021.t9EALLCh005601@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Oct 14 10:21:21 2015
New Revision: 289304
URL: https://svnweb.freebsd.org/changeset/base/289304

Log:
  6293 ztest failure: error == 28 (0xc == 0x1c) in ztest_tx_assign()
  
  Reviewed by: George Wilson <george.wilson@delphix.com>
  Reviewed by: Prakash Surya <prakash.surya@delphix.com>
  Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
  Approved by: Richard Lowe <richlowe@richlowe.net>
  Author: Matthew Ahrens <mahrens@delphix.com>
  
  illumos/illumos-gate@8fe00bfb8790ad51653f67b01d5ac14256cbb404

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/arc.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/arc.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/arc.c	Wed Oct 14 10:01:08 2015	(r289303)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/arc.c	Wed Oct 14 10:21:21 2015	(r289304)
@@ -5021,6 +5021,16 @@ arc_init(void)
 	arc_c_max = MAX(allmem * 3 / 4, arc_c_max);
 
 	/*
+	 * In userland, there's only the memory pressure that we artificially
+	 * create (see arc_available_memory()).  Don't let arc_c get too
+	 * small, because it can cause transactions to be larger than
+	 * arc_c, causing arc_tempreserve_space() to fail.
+	 */
+#ifndef _KERNEL
+	arc_c_min = arc_c_max / 2;
+#endif
+
+	/*
 	 * Allow the tunables to override our calculations if they are
 	 * reasonable (ie. over 64MB)
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510141021.t9EALLCh005601>