Regarding scsi_request

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

 



Hi All,

I have a query regarding the "scsi_request" data structure in linux kernel.
There is a comment on the top of definition of "scsi_request"
(linux/scsi/scsi_request.h) which reads:

http://lxr.linux.no/source/include/scsi/scsi_request.h#L19

13  * This is essentially a slimmed down version of Scsi_Cmnd.  The point of
14  * having this is that requests that are injected into the queue as result
15  * of things like ioctls and character devices shouldn't be using a
16  * Scsi_Cmnd until such a time that the command is actually at the head
17  * of the queue and being sent to the driver.
18  */


Please help me understand (or give me some pointer) why requests
issued through "scsi_request" only needs to go at the head of the
queue? Is it not possible to insert it in between queue (like after
sorting).

Kinldy let me know if i am missing something. I will appreciate if
somebody can give me some pointers to understand the above point

Thanks
~Amrut
-
: 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