public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: anton@samba.org, plars@austin.ibm.com,
	linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: Scsi problems in 2.5.1-pre9
Date: Wed, 12 Dec 2001 10:02:53 +0100	[thread overview]
Message-ID: <20011212090253.GR13498@suse.de> (raw)
In-Reply-To: <20011211212802.GA30520@krispykreme> <20011211.140409.21593464.davem@redhat.com> <20011211221747.GB30520@krispykreme> <20011211.142714.115908324.davem@redhat.com>
In-Reply-To: <20011211.142714.115908324.davem@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

On Tue, Dec 11 2001, David S. Miller wrote:
>    From: Anton Blanchard <anton@samba.org>
>    Date: Wed, 12 Dec 2001 09:17:47 +1100
>     
>    > In that case you perhaps should be defining DMA_CHUNK_SIZE in
>    > asm/dma.h :-)
>    
>    Hmm I have it defined, just not in dma.h :) I'll fix it now and retest.
> 
> Oh nevermind then, the location really is almost arbitrary.
> As long as scsi_merge.c sees it.
> 
> Note this is one area Jens hasn't been able to test and I've been
> trying first to solidify my sparc64 setup without DMA_CHUNK_SIZE
> defined.

Dave nailed this bug, Anton you'll want to apply it before testing :-)
It fixes a case of too much copy'n paste with back merges +
DMA_CHUNK_SIZE enabled.

-- 
Jens Axboe


[-- Attachment #2: merge-dma-chunk-1 --]
[-- Type: text/plain, Size: 326 bytes --]

--- /opt/kernel/linux-2.5.1-pre10/drivers/scsi/scsi_merge.c	Tue Dec 11 13:30:36 2001
+++ drivers/scsi/scsi_merge.c	Wed Dec 12 03:59:58 2001
@@ -307,7 +307,7 @@
 	}
 
 #ifdef DMA_CHUNK_SIZE
-	if (MERGEABLE_BUFFERS(bio, req->bio))
+	if (MERGEABLE_BUFFERS(req->biotail, bio))
 		return scsi_new_mergeable(q, req, bio);
 #endif
 

  reply	other threads:[~2001-12-12  9:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11 10:07 Scsi problems in 2.5.1-pre9 Paul Larson
2001-12-11 16:05 ` Jens Axboe
2001-12-11 16:19   ` Jens Axboe
2001-12-11 10:34     ` Paul Larson
2001-12-11 16:30       ` Jens Axboe
2001-12-11 16:47 ` Jens Axboe
2001-12-11 16:54   ` Jens Axboe
2001-12-11 21:28     ` Anton Blanchard
2001-12-11 22:04       ` David S. Miller
2001-12-11 22:17         ` Anton Blanchard
2001-12-11 22:27           ` David S. Miller
2001-12-12  9:02             ` Jens Axboe [this message]
2001-12-12  9:15               ` David S. Miller
2001-12-12  9:21                 ` Jens Axboe
2001-12-12  9:31                   ` David S. Miller
2001-12-12  9:32                     ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011212090253.GR13498@suse.de \
    --to=axboe@suse.de \
    --cc=anton@samba.org \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=plars@austin.ibm.com \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox