From: Karthik Sarangan <karthiks@cdac.in>
To: Fawad Lateef <fawadlateef@gmail.com>
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 11:59:17 +0530 [thread overview]
Message-ID: <433CDB3D.9060905@cdac.in> (raw)
In-Reply-To: <1e62d137050929230019fcbfb6@mail.gmail.com>
Fawad Lateef wrote:
>On 9/30/05, Karthik Sarangan <karthiks@cdac.in> wrote:
>
>
>>what do I write in a kernel module for accessing a scsi disk device?
>>
>>
>>
>
>What do u mean by this ??? Are you writing a driver for SCSI Disk or
>Want to do read/write on it using its own driver ??? For read/write
>using its own driver you can use/call generic_make_request (function
>from block/ll_rw_blk.c) from your kernel module to send requests to
>any block device available on the system and kernel will do the
>creating and sending request to correct block device whether that will
>be a SCSI disk or any disk .... And if you want directly to use the
>SCSI device then you have to make requests using SCSI protocol .....
>
>--
>Fawad Lateef
>
>
>
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.
Karthik Sarangan
next prev parent reply other threads:[~2005-09-30 8:05 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 [this message]
2005-09-30 6:53 ` Karthik Sarangan
2005-09-30 7:56 ` Fawad Lateef
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=433CDB3D.9060905@cdac.in \
--to=karthiks@cdac.in \
--cc=fawadlateef@gmail.com \
--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).