summaryrefslogtreecommitdiffstats
path: root/sbin/newlfs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newlfs/config.h')
-rw-r--r--sbin/newlfs/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/newlfs/config.h b/sbin/newlfs/config.h
index 9c8b394..55fed69 100644
--- a/sbin/newlfs/config.h
+++ b/sbin/newlfs/config.h
@@ -84,7 +84,7 @@
* determining the rotationally optimal layout for disk blocks
* within a file; the default of fs_rotdelay is 4ms.
*/
-#define ROTDELAY 4
+#define ROTDELAY 0
/*
* MAXCONTIG sets the default for the maximum number of blocks
@@ -115,7 +115,7 @@
* rotational positions that we distinguish. With NRPOS of 8 the resolution
* of our summary information is 2ms for a typical 3600 rpm drive.
*/
-#define NRPOS 8 /* number distinct rotational positions */
+#define NRPOS 1 /* number distinct rotational positions */
/*
* The following constants set the default block and segment size for a log
@@ -129,6 +129,6 @@
#define DFL_LFSSEG_MASK 0xFFFFF
#define LFS_MINBLOCKSIZE 1024
-#define DFL_LFSBLOCK 4096
-#define DFL_LFSBLOCK_SHIFT 12
-#define DFL_LFSBLOCK_MASK 0xFFF
+#define DFL_LFSBLOCK 8192
+#define DFL_LFSBLOCK_SHIFT 13
+#define DFL_LFSBLOCK_MASK 0x1FFF
OpenPOWER on IntegriCloud