On Jan 7, 2014, at 5:30 AM, David Holland <dholland-t...@netbsd.org> 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 - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)