Re: [PATCH] Remove global netfs lock and use hard and soft references for nodes.

2016-03-20 Thread Justus Winter
Quoting Flávio Cruz (2016-03-18 01:27:37) > > Looks fine otherwise, I'll test it in my builds. > > How does it work for you so far? Very well. Thanks for picking this up :) Justus

Re: [PATCH] Remove global netfs lock and use hard and soft references for nodes.

2016-03-07 Thread Justus Winter
Hi, nitpick: Your subject is still quite long, and you got a newline in your subject, however you managed to do that o_O Quoting Flavio Cruz (2016-03-07 00:14:52) > - /* The number of references to this node. */ > - int references; > + /* Hard and soft references to this node. */ > + refcou

[PATCH] Remove global netfs lock and use hard and soft references for nodes.

2016-03-06 Thread Flavio Cruz
* libnetfs/drop-node.c: Remove use of netfs_node_refcnt_lock. * libnetfs/init-init.c: Remove netfs_node_refcnt_lock. * libnetfs/make-node.c: Initialize refcounts in refcounts_init. * libnetfs/netfs.h: Use refcounts_t for tracking node references. Remove netfs_node_refcnt_lock. Add netfs_nref_light,