[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scsi_target witness lock error
- To: "Sean Bruno" <sbruno_(_at_)_miralink_(_dot_)_com>
- Subject: Re: scsi_target witness lock error
- From: "Hidetoshi Shimokawa" <simokawa_(_at_)_FreeBSD_(_dot_)_ORG>
- Date: Wed, 12 Dec 2007 11:37:12 +0900
- Cc: freebsd-scsi_(_at_)_freebsd_(_dot_)_org, freebsd-firewire_(_at_)_freebsd_(_dot_)_org, nate_(_at_)_root_(_dot_)_org
On 12/12/07, Sean Bruno <sbruno_(_at_)_miralink_(_dot_)_com> wrote:
> > --- //depot/vendor/freebsd/src/sys/cam/scsi/scsi_target.c 2007/04/15 08:53:22
> > +++ //depot/user/simokawa/firewire_lock/sys/cam/scsi/scsi_target.c 2007/05/21 14:31:55
> > @@ -372,10 +372,14 @@
> > int retval;
> >
> > softc = (struct targ_softc *)kn->kn_hook;
> > +#if 0
> > cam_periph_lock(softc->periph);
> > +#endif
> > retval = !TAILQ_EMPTY(&softc->user_ccb_queue) ||
> > !TAILQ_EMPTY(&softc->abort_queue);
> > +#if 0
> > cam_periph_unlock(softc->periph);
> > +#endif
> > return (retval);
> > }
> Are these two "if 0"'s supposed to be commented out? I'm leaving this
> out of my RELENG_6 test for now unless you say otherwise.
>
>
> Sean
Yes, it is same as comment out.
The patch was for RELENG_7 or current. I'm not sure about RELENG_6.
--
/\ Hidetoshi Shimokawa
\/ simokawa_(_at_)_FreeBSD_(_dot_)_ORG
_______________________________________________
freebsd-firewire_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "freebsd-firewire-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org