From: Fawad Lateef <fawadlateef@gmail.com>
To: Karthik Sarangan <karthiks@cdac.in>
Cc: Linux SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: Re: accessing the scsi disk from a kernel module
Date: Fri, 30 Sep 2005 12:56:06 +0500 [thread overview]
Message-ID: <1e62d13705093000563a95972d@mail.gmail.com> (raw)
In-Reply-To: <433CE0EB.6040803@cdac.in>
On 9/30/05, Karthik Sarangan <karthiks@cdac.in> wrote:
> I dont want the buffer cache of the block device interfering.
>
> Basically I require to read/write data (without being cached or copied into
> intermediate kernel buffers) to scsi disk from a kernel module.
>
> Hope this make my meaning clearer.
>
Ya, I havn't did thing what you want but for sending SCSI Commands to
the SCSI Device directly you have to use SCSI Protocol, in
Kernel-2.6.x I found generic SCSI Mid-Layer Driver
(http://lxr.linux.no/source/drivers/scsi/scsi.c) and other files with
name scsi_* in drivers/scsi/ from which you can get help and also look
header files defined in include/scsi/ which actually has the
structures holding the SCSI cmnds etc ...... (CMIIW)
--
Fawad Lateef
next prev parent reply other threads:[~2005-09-30 7:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 5:27 accessing the scsi disk from a kernel module Karthik Sarangan
2005-09-30 6:00 ` Fawad Lateef
2005-09-30 6:29 ` Karthik Sarangan
2005-09-30 6:53 ` Karthik Sarangan
2005-09-30 7:56 ` Fawad Lateef [this message]
2005-09-30 7:06 ` Karthik Sarangan
-- strict thread matches above, loose matches on Subject: below --
2005-09-30 16:00 Bagalkote, Sreenivas
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=1e62d13705093000563a95972d@mail.gmail.com \
--to=fawadlateef@gmail.com \
--cc=karthiks@cdac.in \
--cc=linux-scsi@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;
as well as URLs for NNTP newsgroup(s).