On Wed, Jan 18, 2012 at 08:41:21PM +0000, YAMAMOTO Takashi wrote: > > > I'm not sure I'm understanding you. There is only one set of extended > > attributes blocks per vnode. > > let's call the entity buf_targ_t. > the most of vnode * for buffer cache API would be changed to take > buf_targ_t * instead of vnode *. > callers would be changed from bread(vp, ...) to > bread(vp->v_contents_buf_targ, ...). > you might want to do bread(ip->i_xattr_buf_targ, ...) for extended > attribute. > you need two buf_targ_t for a vnode. > (v_contents_buf_targ and i_xattr_buf_targ in the above example.)
I like the idea. But that's a lot of work and is definitively not going to be in netbsd-6 -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --