Re: Re: accessing the scsi disk from a kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/30/05, Karthik Sarangan <karthiks@xxxxxxx> 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
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux