Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man7 document the new wapbl sysctls.



details:   https://anonhg.NetBSD.org/src/rev/d748bfe0ce30
branches:  trunk
changeset: 760633:d748bfe0ce30
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 09 16:55:59 2011 +0000

description:
document the new wapbl sysctls.

diffstat:

 share/man/man7/sysctl.7 |  20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 6d97291b435c -r d748bfe0ce30 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Sun Jan 09 16:55:13 2011 +0000
+++ b/share/man/man7/sysctl.7   Sun Jan 09 16:55:59 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.7,v 1.53 2010/12/14 16:23:59 jruoho Exp $
+.\"    $NetBSD: sysctl.7,v 1.54 2011/01/09 16:55:59 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)sysctl.3    8.4 (Berkeley) 5/9/95
 .\"
-.Dd December 14, 2010
+.Dd January 9, 2010
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -133,7 +133,7 @@
 .Li vfs.generic ( VFS_GENERIC ) ,
 is used to get general information about all filesystems.
 It has the following third level identifiers:
-.Bl -tag -width compact
+.Bl -tag -width "vfs.generic.maxtypenum (VFS_MAXTYPENUM)"
 .It vfs.generic.maxtypenum ( VFS_MAXTYPENUM )
 The highest valid filesystem type number.
 .It vfs.generic.conf ( VFS_CONF )
@@ -141,6 +141,20 @@
 level identifier.
 .El
 .Pp
+A second level name for controlling the
+.Xr wapbl 4
+(Write Ahead Physical Block Logging file system journalling)
+capabilities with the following third level identifiers:
+.Bl -tag -width "vfs.wapbl.flush_disk_cache"
+.It vfs.wapbl.flush_disk_cache Controls whether to attempt to flush the
+disk cache on each commit.
+It defaults to 1 and it should always be on to ensure data integrity in
+case of a crash.
+For slow disks, turning it off can improve performance.
+.It vfs.wapbl.verbose_commit For each transaction log commit, print the
+number of bytes written and the time it took to commit as seconds.nanoseconds.
+.El
+.Pp
 The remaining second level identifiers are the file-system names, identified
 by the type number returned by a
 .Xr statvfs 2



Home | Main Index | Thread Index | Old Index