On Tue, Nov 6, 2018 at 7:53 AM Atin Mukherjee <atin.mukherjee83@xxxxxxxxx> 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@xxxxxxxxxxxx>
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
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-devel