tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Vnode API cleanup pass 2a



On Tue, Jan 07, 2014 at 11:32:28AM +0100, J. Hannken-Illjes wrote:
 > >>> This seems to largely add code to file systems to mess with locking
 > >>> further, rather than reducing that code.
 > >> 
 > >> What do you mean with "mess" here?
 > >> 
 > >>> Can you explain how this
 > >>> change helps to clean up those dirty hacks?
 > >> 
 > >> This is the first of hopefully two steps.  Once lookup returns its
 > >> result unlocked the hacks can go as all operations adding or looking
 > >> up layer nodes work on unlocked vnodes.
 > >> 
 > >>> Are you planning to make
 > >>> lookup return the node unlocked too or something first?
 > >> 
 > >> Sure, changing the lookup operation to do the same is be the next step.
 > > 
 > > also, maybe it would be better to tackle lookup first?
 > 
 > Why should the order matter?

Less mess of the kind Taylor was objecting to. Maybe. (Or maybe not,
too.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index