Re: [Jfs4bsd-devel] Removal of Metapages.. Completely!
Status: Alpha
Brought to you by:
h_pandya
|
From: Sergey L. <de...@as...> - 2002-07-17 14:25:23
|
On Mon, Jul 15, 2002 at 04:57:08PM -0400, Hiten Pandya wrote: > Hello everyone. > > I have finally come to think, that we are just wasting ample time trying > to port Metapages; also, Sergey has disappeared, so I was wondering, > that we should just remove Metapages completely. Did you mean, remove the layer completely ? I beleive vfs_bio.c does all the caching needed, so I have planned to make a stubs in jfs_bufmgr.[ch] so that to preserve the metapage interface (to ease the things), but make the use of struct buf inside them. the only difficulty i see in using bio interface directly is that struct jbuf (struct metapage) holds some additional info (log stuff etc), instead just on-disk data, and the code accesses it. that is why I have considered keeping struct jbuf and metapage interface. but probably that info may be moved to struct inode, freeing us from buffering stuff at all. dropping metapage interface sounds as a good idea, on the other side, keeping it looks as a good choice as well (by the means of keeping just the interface, redirecting all work to the vfs bio code). I don't know, at this point, what is the best way :-) -- Sergey Lyubka Asita Technologies Int, Galway, Ireland |