[Gluster-devel] Fwd: New Defects reported by Coverity Scan for gluster/glusterfs
Vijay Bellur
vbellur at redhat.com
Tue Nov 6 18:17:38 UTC 2018
On Tue, Nov 6, 2018 at 7:53 AM Atin Mukherjee <atin.mukherjee83 at gmail.com>
wrote:
> new defects introduced in posix xlator.
>
>
The new defect is in the features/locks xlator. I have sent a patch to
address that.
Thanks,
Vijay
---------- Forwarded message ---------
> From: <scan-admin at coverity.com>
> Date: Tue, Nov 6, 2018 at 8:44 PM
> Subject: New Defects reported by Coverity Scan for gluster/glusterfs
>
> Hi,
>
> Please find the latest report on new defect(s) introduced to
> gluster/glusterfs found with Coverity Scan.
>
> 2 new defect(s) introduced to gluster/glusterfs found with Coverity Scan.
> 1 defect(s), reported by Coverity Scan earlier, were marked fixed in the
> recent build analyzed by Coverity Scan.
>
> New defect(s) Reported-by: Coverity Scan
> Showing 2 of 2 defect(s)
>
>
> ** CID 1396581: Program hangs (LOCK)
> /xlators/features/locks/src/posix.c: 2952 in pl_metalk()
>
>
>
> ________________________________________________________________________________________________________
> *** CID 1396581: Program hangs (LOCK)
> /xlators/features/locks/src/posix.c: 2952 in pl_metalk()
> 2946 gf_msg(this->name, GF_LOG_WARNING, EINVAL, 0,
> 2947 "More than one meta-lock can not be granted on"
> 2948 "the inode");
> 2949 ret = -1;
> 2950 }
> 2951 }
> >>> CID 1396581: Program hangs (LOCK)
> >>> "pthread_mutex_lock" locks "pl_inode->mutex" while it is locked.
> 2952 pthread_mutex_lock(&pl_inode->mutex);
> 2953
> 2954 if (ret == -1) {
> 2955 goto out;
> 2956 }
> 2957
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20181106/6ccf58a1/attachment.html>
More information about the Gluster-devel
mailing list