Re: [PATCH][CFT] (updated) ext2 directories in pagecache

Alexander Viro
2001-05-12T22:18:24Z

On Sat, 12 May 2001, Andreas Dilger wrote:

> We could use the "buffer_uptodate" flag on the buffer to signal that
> the block has been checked. AFAIK, a new buffer will not be uptodate,
> and once it is it will not be read from disk again... However, if a
> user-space process read the buffer would also mark it uptodate without
> doing the check... Maybe we should use a new BH_ pointer... Just need
> to factor out the ext2_check_page() code so that it works on a generic
> memory pointer and end pointer.

Or you could simply use ext2_get_page() and forget about this crap.