On 12/15/2013 03:01 PM, B.K.Raghuram wrote:> Is there any documentation on the semantics of these return values for
> common gluster commands? If not, is there a common guideline on how to
> interpret these values?
>
opret and operrno for glusterfs fops are equivalent to return value and
errno obtained during execution of equivalent system calls. In majority
of the cases, operrno is valid only if opret indicates a failure.
operrno mostly refers to values that errno can assume and can be
interpreted in the same way errno is interpreted.
If a translator performs a STACK_UNWIND due to an error condition, it
usually sets an operrno to indicate why the fop was failed.
-Vijay