Thread (1 message) 1 message, 1 author, 2000-06-11

Re: -ac13 buffer.c MAJOR bug

From: Stephen C. Tweedie <hidden>
Date: 2000-06-11 19:23:47

Hi,

On Sun, Jun 11, 2000 at 12:34:40PM -0400, I Lee Hetherington wrote:
I am not seeing this BUG in ac12.  It is solid for me.  It would seem to
be an ac13 feature.
It is.  The fix is below.

The problem is that with async write-behind, buffers on the per-inode
dirty list can be cleaned and I/O can complete before the vm scanner
identifies the clean buffer and refiles it (which will remove if from
the inode list).  So, we can end up with clean buffers on the per-inode
dirty list.  It is quite legal to recycle these buffers, and 
try_to_free_buffers() already owns the necessary spinlocks to do so
by the time it gets this far.

--Stephen

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help