Date: Wed, 26 Apr 2017 22:25:01 +0000 (UTC) From: Steven Hartland <smh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r317470 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201704262225.v3QMP1Ud004565@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: smh Date: Wed Apr 26 22:25:01 2017 New Revision: 317470 URL: https://svnweb.freebsd.org/changeset/base/317470 Log: MFC r315449: Reduce ARC fragmentation threshold Sponsored by: Multiplay Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ============================================================================== --- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Wed Apr 26 22:23:42 2017 (r317469) +++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Wed Apr 26 22:25:01 2017 (r317470) @@ -3978,7 +3978,7 @@ arc_available_memory(void) * Start aggressive reclamation if too little sequential KVA left. */ if (lowest > 0) { - n = (vmem_size(heap_arena, VMEM_MAXFREE) < zfs_max_recordsize) ? + n = (vmem_size(heap_arena, VMEM_MAXFREE) < SPA_MAXBLOCKSIZE) ? -((int64_t)vmem_size(heap_arena, VMEM_ALLOC) >> 4) : INT64_MAX; if (n < lowest) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704262225.v3QMP1Ud004565>