Hi,
On Tue, 22 Feb 2000 16:21:40 +0100 (CET), Andrea Arcangeli
<andrea@suse.de> said:
>> On the contrary --- in 2.2, brelse has always been able to block. It
>> performs an implicit refile_buffer(), which can block for write
>> throttling.
> refile_buffer blocks only if the buffer is been marked dirty and it wasn't
> in the dirty lru list.
> How can a dirty buffer not be in the dirty lru list at brelse time?
OK, that looks like a good reason.
> I assumed the refile buffer there was for cleanup and not for write
> throttling (that's the only case that can block).
Yes, it's definitely needed at least to remove buffers from the locked
and/or dirty lists if IO has completed by that point.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:31 EST