gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] Some questions about requisites of translators


From: Xavier Hernandez
Subject: [Gluster-devel] Some questions about requisites of translators
Date: Wed, 02 May 2012 12:55:37 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

Hello,

I'm wondering if there are any requisites that translators must satisfy to work correctly inside glusterfs.

In particular I need to know two things:

1. Are translators required to respect the order in which they receive the requests ?

This is specially important in translators such as performance/io-threads or caching ones. It seems that these translators can reorder requests. If this is the case, is there any way to force some order between requests ? can inodelk/entrylk be used to force the order ?

2. Are translators required to propagate callback arguments even if the result of the operation is an error ? and if an internal translator error occurs ?

When a translator has multiple subvolumes, I've seen that some arguments, such as xdata, are replaced with NULL. This can be understood, but are regular translators (those that only have one subvolume) allowed to do that or must they preserve the value of xdata, even in the case of an internal error ?

If this is not a requisite, xdata loses it's function of delivering back extra information.

Thank you very much,

Xavi



reply via email to

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