Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 11:13:06 +0100
From:      Martin Kaeske <Martin.Kaeske@II.Stud.TU-Ilmenau.DE>
To:        freebsd-hackers@freebsd.org
Subject:   BSD buffer management
Message-ID:  <20011116111306.A14218@walnut.hh59.local>

next in thread | raw e-mail | index | archive | help
Hello
Because i want to learn more about the BSD-kernel i bought
the book "The Design and Implementation of the 4.4BSD Operating
System" [McKusick, et.al.]. Now i come across the topic
"Buffer Management" and i have a question: Is it possible
that a call to bread() can result in a buffer covering
more than one disk-block? If this is true how does the kernel
ensures that there are no disk-blocks in more than one buffer
(as the kernel does when files are shortened or removed)?
Is it possible that its the callers (caller of bread()) task
to keep track of overlapping buffers? And breads size argument
is 'just' for flexibility and the caller has to ensure integrity.

Martin

-- 
The instructions said to use Windows 98 or better, so I installed FreeBSD.

		-- Jim Levie in comp.unix.bsd.freebsd.misc --

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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