Note the fact that buffer cache takes block numbers in

units of DEV_BSIZE, even if the device's device size is
larger. Update date.

Reviewed by wiz. :-)
This commit is contained in:
wrstuden 2005-09-08 22:51:36 +00:00
parent ac3f544e6d
commit 1fa8554ba6
1 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: buffercache.9,v 1.13 2004/06/25 15:31:37 wiz Exp $
.\" $NetBSD: buffercache.9,v 1.14 2005/09/08 22:51:36 wrstuden Exp $
.\"
.\" Copyright (c)2003 YAMAMOTO Takashi,
.\" All rights reserved.
@ -101,7 +101,7 @@
.\"
.\"
.\" ------------------------------------------------------------
.Dd June 17, 2004
.Dd September 8, 2005
.Dt BUFFERCACHE 9
.Os
.Sh NAME
@ -181,6 +181,14 @@ and
.Fa blkno .
The buffer is returned via
.Fa bpp .
.Fa blkno
is in units of
.Dv DEV_BSIZE .
Both
.Fa blkno
and
.Fa size
must be multiples of the underlying device's block size.
.Pp
If the buffer is not found (i.e. the block is not cached in memory),
.Fn bread