Re: Semantics of opRet and opErrno

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

 



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

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux