[PC-BSD Commits] r6268 - pcbsd/trunk/pc-sysinstall/backend
svn at pcbsd.org
svn at pcbsd.org
Wed Feb 17 06:32:06 PST 2010
Author: kris
Date: 2010-02-17 06:32:05 -0800 (Wed, 17 Feb 2010)
New Revision: 6268
Modified:
pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh
Log:
Disable atime on our zfs partitions by default, nice speedup
Modified: pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh 2010-02-17 10:02:12 UTC (rev 6267)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh 2010-02-17 14:32:05 UTC (rev 6268)
@@ -12,6 +12,9 @@
ROOTSLICE="`echo ${PART} | rev | cut -b 2- | rev`"
rc_halt "zpool create -m none -f ${PART} ${PART}${EXT}"
+ # Disable atime for this zfs partition, speed increase
+ rc_nohalt "zfs set atime=off ${PART}"
+
# Check if we ended up with needing a zfs bootable partition
if [ "${PARTMNT}" = "/" -o "${PARTMNT}" = "/boot" ]
then
More information about the Commits
mailing list