Re: [PATCH 6/7] libdiskfs: lock-less reference counting for peropen objects

2014-05-22 Thread Samuel Thibault
Justus Winter, le Tue 13 May 2014 21:02:55 +0200, a écrit : > * libdiskfs/diskfs.h (struct peropen): Use refcount_t for field refcnt. > * libdiskfs/peropen-make.c (diskfs_make_peropen): Initialize refcnt. > * libdiskfs/peropen-rele.c (diskfs_release_peropen): Adjust accordingly. > * libdiskfs/proti

[PATCH 6/7] libdiskfs: lock-less reference counting for peropen objects

2014-05-13 Thread Justus Winter
* libdiskfs/diskfs.h (struct peropen): Use refcount_t for field refcnt. * libdiskfs/peropen-make.c (diskfs_make_peropen): Initialize refcnt. * libdiskfs/peropen-rele.c (diskfs_release_peropen): Adjust accordingly. * libdiskfs/protid-make.c (diskfs_start_protid): Likewise. Also, the node must no lo