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

Daniel Phillips
2001-05-13T02:35:38Z

On Sunday 13 May 2001 00:18, Alexander Viro wrote:
> 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.

I tried that first. The resulting code was not nice and worked only
for 4K block_size, as far as I took it.

I'm not sure what advantage you see in ext2_get_page, perhaps you can
explain.
--
Daniel