[Gluster-devel] thread-safety and stack based design
Corin Langosch
corinl at gmx.de
Wed Jan 14 15:29:03 UTC 2009
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
More information about the Gluster-devel
mailing list