Thread (20 messages) flat view 20 messages, 3 authors, 2007-12-14

Re: [1/4] DST: Distributed storage documentation.

From: Evgeniy Polyakov <hidden>
Date: 2007-12-10 15:12:25
Also in: linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

On Mon, Dec 10, 2007 at 05:50:55PM +0300, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote:
quoted
Further questions:
Why do you do your own refcounting instead of using kref?
That's because I always used atomic operations as a reference counters
and did not tried krefs :)
They are the same actually (module tricky arches where smp_mb_* are
required), so I can replace them in the next release.
Actually not - I have to set reference counter to something other than 1
or +/- 1, and thus will have to call kref_get() in a loop, which is a
very ugly step. Is there kref_set() or somethinglike that? At least not
in 2.6.22 what I'm using for now.

Sigh, I've converted most of the DST already...

-- 
	Evgeniy Polyakov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help