[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071017173128.GJ15552@kernel.dk>
Date: Wed, 17 Oct 2007 19:31:29 +0200
From: Jens Axboe <jens.axboe@...cle.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [bug] block subsystem related crash with latest -git
On Wed, Oct 17 2007, Ingo Molnar wrote:
>
> * Jens Axboe <jens.axboe@...cle.com> wrote:
>
> > > - sg = next_sg;
> > > - next_sg = sg_next(sg);
> > > + if (!sg)
> > > + sg = sglist;
> > > + else
> > > + sg = sg_next(sg);
> > >
> > > memset(sg, 0, sizeof(*sg));
> > > sg->page = bvec->bv_page;
> > >
> >
> > Scratch that, it cannot work... I'll think up a different approach.
>
> too late, crashed my box with it already :-)
Sorry about that, please try the next one that includes the scsi_lib.c
one liner to clear the sg table on alloc :-)
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists