[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Forcing page reload when page is read
From: |
Ognyan Kulev |
Subject: |
Forcing page reload when page is read |
Date: |
Tue, 22 Apr 2003 14:11:17 +0300 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.3b) Gecko/20030408 Minotaur/0.1a |
Hi,
I discovered a major problem with my ext2fs patch. (I wonder how it
was working at all.) As I wrote, there is a block cache in disk_image
that holds the indirect blocks. The interface of the block cache
consists of three functions: disk_image_{request,release,clear} where
disk_image_request can _reuse_ block contained in disk_image for a new
block. The problem is that I need to discard the page that contains
that reused block. By "discard" I mean that the next memory read from
this page will do pager_read_pager.
I used pager_flush_some for that purpose, but this doesn't seem to help.
Is there a way to force page reloading, even if this means using
Mach's native interface, no libpager's?
Regards
--
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Forcing page reload when page is read,
Ognyan Kulev <=