summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-06 19:27:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-06 19:27:17 +0000
commit628f4cc1f1a917b6f58d3530fd0f1ff9763f4968 (patch)
tree2a42f3fbfb6c480a8233965c94c9b1b476c94459 /sbin
parent8be4a057fdc9747f376ee5cad660edcefd0d365a (diff)
Correct info in "-a maxcontig" section.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/newfs/newfs.85
-rw-r--r--sbin/tunefs/tunefs.813
2 files changed, 11 insertions, 7 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index d5a2b04c27d..e4460756f09 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: newfs.8,v 1.27 2002/02/18 21:57:56 millert Exp $
+.\" $OpenBSD: newfs.8,v 1.28 2002/05/06 19:27:16 millert Exp $
.\" $NetBSD: newfs.8,v 1.12 1995/03/18 14:58:41 cgd Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993, 1994
@@ -156,7 +156,8 @@ This specifies the maximum number of contiguous blocks that will be
laid out before forcing a rotational delay (see the
.Fl d
option).
-The default value is 8.
+The default value depends on the block size (8 for 8KB blocks and
+16 for 4KB blocks).
See
.Xr tunefs 8
for more details on how to set this option.
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8
index 424aaecf077..48224c49935 100644
--- a/sbin/tunefs/tunefs.8
+++ b/sbin/tunefs/tunefs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tunefs.8,v 1.18 2001/12/21 11:41:50 mpech Exp $
+.\" $OpenBSD: tunefs.8,v 1.19 2002/05/06 19:27:16 millert Exp $
.\" $NetBSD: tunefs.8,v 1.8 1995/03/18 15:01:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -74,10 +74,13 @@ This specifies the maximum number of contiguous blocks that will
be laid out before forcing a rotational delay (see
.Fl d
below).
-The default value is one, since most device drivers require
-an interrupt per disk transfer.
-Device drivers that can chain several buffers together in a single
-transfer should set this to the maximum chain length.
+The default value depends on the block size (8 for 8KB blocks and
+16 for 4KB blocks).
+Most device drivers can chain several buffers together in a single transfer.
+For optimal performance, the value of
+.Ar maxcontig
+should be chosen based on the maximum chain length supported by
+the device driver.
.It Fl d Ar rotdelay
This specifies the expected time (in milliseconds)
to service a transfer completion