Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2013 08:00:01 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        freebsd-scsi@FreeBSD.org
Subject:   Re: kern/165740: [cam] SCSI code must drain callbacks before free
Message-ID:  <201304150800.r3F801oa077437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/165740; it has been noted by GNATS.

From: Alexander Motin <mav@FreeBSD.org>
To: Hans Petter Selasky <hselasky@c2i.net>
Cc: sbruno@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: kern/165740: [cam] SCSI code must drain callbacks before free
Date: Mon, 15 Apr 2013 10:58:32 +0300

 On 15.04.2013 08:58, Hans Petter Selasky wrote:
 > On 04/14/13 21:25, Sean Bruno wrote:
 >> Can you regenerate this patch?  It looks like it got garbled by gnats.
 >> Or this is a copy/paste from an annotated version of a web page?
 >
 > Can you check the commit logs? I wonder if Alexander has fixed this issue.
 
 No, I haven't, but I've noticed it also myself. I think that the code 
 around these callouts is historically not exactly correct and needs some 
 more attention then just dropping the lock and draining.
 
 BTW one way to avoid dropping lock there could be in taking extra 
 reference to device before arming it. That would keep device from 
 destruction until callout actually fire.
 
 -- 
 Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304150800.r3F801oa077437>