Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2018 00:25:53 +0000 (UTC)
From:      Ed Maste <emaste@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: r332460 - stable/11/usr.sbin/makefs
Message-ID:  <201804130025.w3D0PrhA050612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Apr 13 00:25:53 2018
New Revision: 332460
URL: https://svnweb.freebsd.org/changeset/base/332460

Log:
  MFC r331758: makefs: sync fragment and block size with newfs
  
  r222319 in newfs raised the default blocksize for UFS/FFS filesystems
  from 16K to 32K and the default fragment size from 2K to 4K, with a
  rationale that most disks were now running with 4K sectors.
  
  Relnotes:	Yes
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/usr.sbin/makefs/ffs.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/makefs/ffs.c
==============================================================================
--- stable/11/usr.sbin/makefs/ffs.c	Thu Apr 12 21:29:40 2018	(r332459)
+++ stable/11/usr.sbin/makefs/ffs.c	Fri Apr 13 00:25:53 2018	(r332460)
@@ -108,8 +108,8 @@ __FBSDID("$FreeBSD$");
 /*
  * Various file system defaults (cribbed from newfs(8)).
  */
-#define	DFL_FRAGSIZE		1024		/* fragment size */
-#define	DFL_BLKSIZE		8192		/* block size */
+#define	DFL_FRAGSIZE		4096		/* fragment size */
+#define	DFL_BLKSIZE		32768		/* block size */
 #define	DFL_SECSIZE		512		/* sector size */
 #define	DFL_CYLSPERGROUP	65536		/* cylinders per group */
 #define	DFL_FRAGSPERINODE	4		/* fragments per inode */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804130025.w3D0PrhA050612>