[Bugs] [Bug 1717824] Fencing: Added the tcmu-runner ALUA feature support but after one of node is rebooted the glfs_file_lock() get stucked
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 25 10:42:32 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1717824
--- Comment #19 from Xiubo Li <xiubli at redhat.com> ---
(In reply to Xiubo Li from comment #18)
> (In reply to Susant Kumar Palai from comment #17)
[...]
>
> Checked the gfapi source code:
>
> 677 out:
> 678 if (rsp.op_ret == -1) {
It seems returning the rsp.op_ret here to the callback:
static void glfs_async_cbk(glfs_fd_t *fd, ssize_t ret, void *data)
Not the rsp.op_errno.
> 679 gf_msg(this->name, GF_LOG_WARNING,
> gf_error_to_errno(rsp.op_errno),
>
> 680 PC_MSG_REMOTE_OP_FAILED, "remote operation failed");
> 681 } else if (rsp.op_ret >= 0) {
> 682 if (local->attempt_reopen)
> 683 client_attempt_reopen(local->fd, this);
> 684 }
> 685 CLIENT_STACK_UNWIND(writev, frame, rsp.op_ret,
> 686 gf_error_to_errno(rsp.op_errno), &prestat,
> &poststat,
> 687 xdata);
> 688
> 689 if (xdata)
> 690 dict_unref(xdata);
>
>
> It seems the return valume is coverted.
>
> Thanks,
> BRs
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bugs
mailing list