Re: Silicon Image 3112A SATA trouble

From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 11/30/03

  • Next message: James W McMechan: "Re: Oops with tmpfs on both 2.4.22 & 2.6.0-test11"
    Date:	Sun, 30 Nov 2003 20:44:31 +0100
    To: Jeff Garzik <jgarzik@pobox.com>
    
    

    On Sun, Nov 30, 2003 at 01:31:35PM -0500, Jeff Garzik wrote:

    > >Ah, my line wasn't completely clear (to say the least)... So to clear
    > >all doubts:
    > >
    > > if ((sector_count % 15 == 1) && (sector_count != 1))
    > > errata path
    > >
    > >Agree?
    >
    >
    > Agreed.
    >
    >
    > The confusion here is most likely my fault, as my original post
    > intentionally inverted the logic for illustrative purposes (hah!)...

    Yeah, and there was an error in the inversion, since if you invert the
    above statement, it looks like this:

    if ((sector_count % 15 != 1) || (sector_count == 1))
            ok path
    else
            errata path

    Logic can be a bitch at times.

    -- 
    Vojtech Pavlik
    SuSE Labs, SuSE CR
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: James W McMechan: "Re: Oops with tmpfs on both 2.4.22 & 2.6.0-test11"

    Relevant Pages

    • Re: Silicon Image 3112A SATA trouble
      ... The confusion here is most likely my fault, as my original post ... intentionally inverted the logic for illustrative purposes... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch, 2.6.10-rc2] sched: fix ->nr_uninterruptible handling bugs
      ... > I presume that you mean adjust rather than transfer. ... > changes CPU while in the UNINTERRUPTIBLE state. ... Yeah this won't actually work of course, because a task can set itself ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Kernel SCM saga..
      ... > DL> just wanted to point out that recent news shows that sha1 isn't as ... It's possible to generate another object with the same hash, ... > yeah, yeah, I know about the current theoretical case, and I don't ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Mem: and Swap: lines in /proc/meminfo
      ... Yeah. ... > ready to be used but just needs some flags updated? ... > possibly useful data, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] udev 013 release
      ... >> Yeah, but what exactly would udev print out? ... All of the sysfs files in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)