Re: [BUG] 2.6.29-rc6-2450cf in scsi_lib.c (was: Large amount ofscsi-sgpool)objects

From: Jens Axboe
Date: Thu Mar 05 2009 - 06:05:49 EST


On Thu, Mar 05 2009, Ingo Molnar wrote:
>
> * Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:
>
> > > > Totally untested, comments welcome...
> > >
> > > Yeah, I think that updating bi_seg_front_size and
> > > bi_seg_back_size at one place, __blk_recalc_rq_segments, is
> > > better. I thought about the same way. But we are already in
> > > -rc7 and this must go into mainline now. So I chose a
> > > less-intrusive way (similar to what we have done in the
> > > past).
> > >
> > > As you know, the merging code is really complicated and we
> > > could overlook stuff easily. ;) It might be better to
> > > simplify the merging code a bit.
> >
> > If someone (Ingo?) is willing to test the last variant, I'd
> > much rather add that. It does simplify it (imho), and it kills
> > 23 lines while only adding 9. But a quick response would be
> > nice, then I can ask Linus to pull it later today.
>
> sure, can give it a whirl.
>
> Note that your patch in this thread does no apply cleanly. Could
> you please send a pull request of your latest fixes that i could
> pull into tip:out-of-tree for testing purposes?

Hmm that's odd, I have no changes in blk-merge.c in my tree against
Linus'. But you can pull:

git://git.kernel.dk/linux-2.6-block.git for-linus

Jens Axboe (2):
cciss: remove 30 second initial timeout on controller reset
block: fix missing bio back/front segment size setting in blk_recount_segments()

Kris Shannon (1):
Fix kernel NULL pointer dereference in xen-blkfront

Roel Kluin (1):
loop: don't increment p->offset with (size_t) -EINVAL

block/blk-merge.c | 25 +++++++++----------------
drivers/block/cciss.c | 8 +++-----
drivers/block/loop.c | 3 +--
drivers/block/xen-blkfront.c | 2 ++
4 files changed, 15 insertions(+), 23 deletions(-)

--
Jens Axboe

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