svn commit: r290748 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Fri Nov 13 09:16:58 UTC 2015
Author: mav
Date: Fri Nov 13 09:16:56 2015
New Revision: 290748
URL: https://svnweb.freebsd.org/changeset/base/290748
Log:
MFC r289192: 6281 prefetching should apply to 1MB reads
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Paul Dagnelie <pcd at delphix.com>
Reviewed by: Alexander Motin <mav at freebsd.org>
Reviewed by: Dan McDonald <danmcd at omniti.com>
Reviewed by: Justin Gibbs <gibbs at scsiguy.com>
Reviewed by: Xin Li <delphij at freebsd.org>
Approved by: Gordon Ross <gordon.ross at nexenta.com>
Author: George Wilson <george.wilson at delphix.com>
illumos/illumos-gate at 632802744ef6d17e06d6980a95f631615c3b060f
Modified:
stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c Fri Nov 13 09:16:07 2015 (r290747)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c Fri Nov 13 09:16:56 2015 (r290748)
@@ -24,7 +24,7 @@
*/
/*
- * Copyright (c) 2013, 2014 by Delphix. All rights reserved.
+ * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
*/
#include <sys/zfs_context.h>
@@ -49,7 +49,7 @@ uint32_t zfetch_max_streams = 8;
uint32_t zfetch_min_sec_reap = 2;
/* max bytes to prefetch per stream (default 8MB) */
uint32_t zfetch_max_distance = 8 * 1024 * 1024;
-/* number of bytes in a array_read at which we stop prefetching (1MB) */
+/* max number of bytes in an array_read in which we allow prefetching (1MB) */
uint64_t zfetch_array_rd_sz = 1024 * 1024;
SYSCTL_DECL(_vfs_zfs);
More information about the svn-src-stable
mailing list