From: Christoph Hellwig <hch@infradead.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: DMA_NONE data_direction in scsi
Date: Tue, 18 Nov 2003 09:46:52 +0000 [thread overview]
Message-ID: <20031118094651.A14904@infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0311172013230.2258-100000@poirot.grange>; from g.liakhovetski@gmx.de on Mon, Nov 17, 2003 at 08:25:19PM +0100
On Mon, Nov 17, 2003 at 08:25:19PM +0100, Guennadi Liakhovetski wrote:
> While trying to fix tmscsim for 2.6, I've arrived at the Oops below, which
> is caused by the BUG_ON() in dma_map_page(). In the backtrace below,
> data_direction is set to DMA_BIDIRECTIONAL in sd_revalidate_disk(),
>
> sreq->sr_data_direction = DMA_BIDIRECTIONAL;
>
> , but already in sd_spinup_disk() it is reset to DMA_NONE:
>
> SRpnt->sr_data_direction = DMA_NONE;
>
> So, the question is: is this the correct behaviour, and, if so - how is
> the driver supposed to map this request - which direction to pass to
> dma_map_*?
DMA_NONE means there's nothing to map.
prev parent reply other threads:[~2003-11-18 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 19:25 Guennadi Liakhovetski
2003-11-17 20:01 ` Guennadi Liakhovetski
2003-11-18 9:46 ` Christoph Hellwig [this message]
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=20031118094651.A14904@infradead.org \
--to=hch@infradead.org \
--cc=g.liakhovetski@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®