gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] thread-safety and stack based design


From: Corin Langosch
Subject: [Gluster-devel] thread-safety and stack based design
Date: Wed, 14 Jan 2009 16:29:03 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Hi again,

I thought glusterfs is using the stack based design instead of a
threaded one to simplify the internal design etc, for example to get rid
of nastly thread locking/ synchronization issues.

So I wonder if it is safe to use the io-threads translator in front of
any other translator than the posix-storage translator. Wasn' the
io-threads translator be meant to be used directly before the
posix-storage translator only,  as it's the only translater which has
blocking system calls?

If all translators are thread-safe, what's the advantage of using a
stack based approach instead of a multi threaded one anyway?

Corin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]