Re: iSCSI initiator driver beta version, testers wanted

From: Scott Long (scottl_at_samsco.org)
Date: 03/19/05

  • Next message: Scott Long: "Re: iSCSI initiator driver beta version, testers wanted"
    Date: Sat, 19 Mar 2005 08:07:35 -0700
    To: Danny Braniss <danny@cs.huji.ac.il>
    
    

    Danny Braniss wrote:
    >>with tags enabled, iSCSI is much faster, but it also causes a deadlock :-(
    >>this is what i run:
    >> newfs -U /<iscsi device>
    >> cd /<iscsi device>
    >> restore rf /home/file.dump
    >>
    >>on the same motherboard, a dual Xeon, with smp disabled all is OK
    >>with smp enabled restore gets stuck usualy waiting on biord.
    >>the iscsi driver shows that all requests have been done, the sniffing
    >>shows the same(ie all request have been done).
    >>
    >>so this leads me to think that there is some race condition that i'm not
    >>aware of in a SMP system, where xpt_done(ccb) is called while
    >>another process is calling biowait.
    >>
    >>another lead is that after restore gets stuck, the system slowly gets
    >>'stalled'.
    >>
    >>any insight is most welcome!, i'm also stuck.
    >
    >
    > ahh, hate talking to myself :-)
    >
    > grabbing Giant before calling xpt_done solved it, so the problem is
    > most probably in the CAM ...
    >
    > danny
    >
    >
    >

    No, you need to grab Giant when calling xpt_done(). I even put an
    assertion into CAM to make sure of that. Are you running with WITNESS
    and/or INVARIANTS enabled? Those would have caught this problem.

    Scott
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Scott Long: "Re: iSCSI initiator driver beta version, testers wanted"

    Relevant Pages

    • Re: Stupid error with get/set on properties
      ... Just from the code you posted, it seems like you are also stuck on the "get". ... Both of those implementations just wind up calling the property again over and over until you run out of stack. ... A correct implementation might look something like this: ... this is essentially what the automatic declaration for a property does for you. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: [PATCH] cgroup: fix a race condition in manipulating tsk->cg_list
      ... My only thought about the downside of this is that an exiting task ... that gets stuck somewhere between setting PF_EXITING and calling ...
      (Linux-Kernel)
    • Re: iSCSI initiator driver beta version, testers wanted
      ... > on the same motherboard, a dual Xeon, with smp disabled all is OK ... > with smp enabled restore gets stuck usualy waiting on biord. ... > another process is calling biowait. ...
      (freebsd-net)
    • Curtis (2-13)
      ... I'm stuck between calling this a pushing of the reset button, ... refreshing new development. ...
      (rec.arts.comics.strips)
    • Re: Container for Windowless Flash Control
      ... The key call I was missing was SetObjectRects(). ... Try calling ... Hopefully this helps anyone else who gets stuck here. ... Taco van Ieperen ...
      (microsoft.public.vc.atl)