Date: Thu, 8 Mar 2001 17:03:16 -0800 (PST) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/scripts doFS.sh Message-ID: <200103090103.f2913GQ88940@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 2001/03/08 17:03:16 PST Modified files: release/scripts doFS.sh Log: newfs with `-m 1' This is needed even with `-o space' as the kernel decides to be "helpful" and not really do space optimization. Looking at src/sys/ufs/ffs/ffs_alloc.c we see why: if (fs->fs_minfree <= 5 || fs->fs_cstotal.cs_nffree > (off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100)) break; log(LOG_NOTICE, "%s: optimization changed from SPACE to TIME\n" I have picked `1' vs. `0' just incase some code somewhere has the assumption the %free can never be `0'. Helped with understanding why -m 1 made a different: imp Revision Changes Path 1.30 +2 -2 src/release/scripts/doFS.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103090103.f2913GQ88940>