hi, > On Mon, Jan 16, 2012 at 10:00:05PM +0000, YAMAMOTO Takashi wrote: >> have you considered to separate the entity being cached from vnode? > > What would this buy us ? the data are intimely tied to the inode, cleaning > the cache when a file is deleted or would be more difficult, isn't it ?
it allows us to have more than one such entities for a vnode. it's what you want here, isn't it? YAMAMOTO Takashi > >> iirc, irix called it "buffer cache target" or such. >> your vtruncbuf2 function seems to imply needs to have separate >> v_dirtyblkhd/v_cleanblkhd for each types. > > It's possible, I didn't look at vnode cleaning yet. > > -- > Manuel Bouyer <bou...@antioche.eu.org> > NetBSD: 26 ans d'experience feront toujours la difference > --