summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-09-05 15:08:58 +0000
committertrasz <trasz@FreeBSD.org>2009-09-05 15:08:58 +0000
commit36333bfcba5bfd937fe1818b3b8ad16d334d48b5 (patch)
tree274715a88a3d81a2948e9deeb7b6b61aeffd599e
parent167fe991d621ce6db09bc99459ec094fb403a8df (diff)
downloadFreeBSD-src-36333bfcba5bfd937fe1818b3b8ad16d334d48b5.zip
FreeBSD-src-36333bfcba5bfd937fe1818b3b8ad16d334d48b5.tar.gz
Improve wording.
Discussed with: pjd, cperciva, rink, wkoszek and des, in order of appearance.
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
index df2fc3e..1d00782 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
@@ -3557,15 +3557,19 @@ arc_init(void)
#ifdef __i386__
if (prefetch_tunable_set == 0) {
- printf("ZFS NOTICE: prefetch is disabled by default on i386"
- " - add enable to tunable to change.\n" );
+ printf("ZFS NOTICE: Prefetch is disabled by default on i386 "
+ "-- to enable,\n");
+ printf(" add \"vfs.zfs.prefetch_disable=0\" "
+ "to /boot/loader.conf.\n");
zfs_prefetch_disable=1;
}
#else
if ((((uint64_t)physmem * PAGESIZE) < (1ULL << 32)) &&
prefetch_tunable_set == 0) {
- printf("ZFS NOTICE: system has less than 4GB and prefetch enable is not set"
- "... disabling.\n");
+ printf("ZFS NOTICE: Prefetch is disabled by default if less "
+ "than 4 GB of RAM is present;\n"
+ " to enable, add \"vfs.zfs.prefetch_disable=0\" "
+ "to /boot/loader.conf.\n");
zfs_prefetch_disable=1;
}
#endif
OpenPOWER on IntegriCloud