Re: New Defects reported by Coverity Scan for ceph (fwd)

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

 



Nice to see that coverity and lockdep agree :-)

This should go away with the fix for #9562.

John

On Thu, Sep 25, 2014 at 4:02 PM, Sage Weil <sweil@xxxxxxxxxx> wrote:
>
>
> ---------- Forwarded message ----------
> From: scan-admin@xxxxxxxxxxxx
> To: undisclosed-recipients:;
> Cc:
> Date: Thu, 25 Sep 2014 06:18:46 -0700
> Subject: New Defects reported by Coverity Scan for ceph
>
>
> Hi,
>
>
> Please find the latest report on new defect(s) introduced to ceph found with Coverity Scan.
>
> Defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
>
>
> ** CID 1241497:  Thread deadlock  (ORDER_REVERSAL)
>
>
>
> ________________________________________________________________________________________________________
> *** CID 1241497:  Thread deadlock  (ORDER_REVERSAL)
> /osdc/Filer.cc: 314 in Filer::_do_purge_range(PurgeRange *, int)()
> 308         return;
> 309       }
> 310
> 311       int max = 10 - pr->uncommitted;
> 312       while (pr->num > 0 && max > 0) {
> 313         object_t oid = file_object_t(pr->ino, pr->first);
>>>>     CID 1241497:  Thread deadlock  (ORDER_REVERSAL)
>>>>     Calling "get_osdmap_read" acquires lock "RWLock.L" while holding lock "Mutex._m" (count: 15 / 30).
> 314         const OSDMap *osdmap = objecter->get_osdmap_read();
> 315         object_locator_t oloc = osdmap->file_to_object_locator(pr->layout);
> 316         objecter->put_osdmap_read();
> 317         objecter->remove(oid, oloc, pr->snapc, pr->mtime, pr->flags,
> 318                          NULL, new C_PurgeRange(this, pr));
> 319         pr->uncommitted++;
>
>
> ________________________________________________________________________________________________________
> To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/25?tab=overview
>
> To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux