Hi,

On 18 Oct 1999 08:20:51 -0500, [EMAIL PROTECTED] (Eric W. Biederman)
said:

>> And I still can't see how you can find the stale buffer in a
>> per-object queue as the object can be destroyed as well after the
>> lowlevel truncate.

> Yes but you can prevent the buffer from becomming a stale buffer with the
> per-object queue.

That still doesn't let you get rid of the bforget(): remember that a
partial truncate() still needs to be dealt with, and you can't work out
which buffers to discard in that case without doing the full metadata
walk.  Just having a per-inode buffer queue doesn't help there (although
it _would_ help solve the case which we currently get wrong, which is
directory data blocks, since we never partially truncate a directory).

--Stephen

Reply via email to