tech-kern archive

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

Re: Vnode API cleanup pass 2a



On Jan 7, 2014, at 5:30 AM, David Holland <dholland-tech%netbsd.org@localhost> 
wrote:

> On Mon, Dec 30, 2013 at 05:26:14PM +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?

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index