Re: [bug] block subsystem related crash with latest -git

Jens Axboe
2007-10-17T17:31:45Z

On Wed, Oct 17 2007, Ingo Molnar wrote:
>
> * Jens Axboe <jens.axboe@oracle.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