public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Help - how to identify the callers in a SCSI lower-leveldriver
@ 2004-04-07 20:42 Lee Xing
  2004-04-07 20:57 ` Arjan van de Ven
  0 siblings, 1 reply; 3+ messages in thread
From: Lee Xing @ 2004-04-07 20:42 UTC (permalink / raw)
  To: arjanv; +Cc: linux-scsi

Thanks for the response.

The shim (a pseudo SCSI lower-level driver) we are working on sits in between Linux SCSI mid-level driver and our existing kernel driver which interfaces with a FC driver which interacts with the FC HBA.

To track SCSI initiators' tasks, it would be great if our existing kernel driver knows which application makes the (SCSI passthrough ioctl) call to /dev/sda.

Thanks,


Lee

-----Original Message-----
From: Arjan van de Ven [mailto:arjanv@redhat.com]
Sent: Wednesday, April 07, 2004 3:02 PM
To: Lee Xing
Cc: linux-scsi@vger.kernel.org
Subject: Re: Help - how to identify the callers in a SCSI
lower-leveldriver


On Wed, 2004-04-07 at 21:52, Lee Xing wrote:
> Hi,
> 
> I'm writing a pseudo Linux lower-level SCSI driver, which interfaces with the standard mid-level driver and needs to identify different calling applications in Linux user space.  For example, there are 2 applications, app1 and app2, in user space, and they both use /dev/hda.  We don't need the SCSI lower-level driver to know the applications' names "app1" or "app2", but just need it to tell the (SCSI passthrough ioctl) calls are from the "this" application or from "that" application.


you'll find that most IO's will come from the VM subsystem and not
directly from applications. Why do you think you need this functionality
????

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-08  1:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 20:42 Help - how to identify the callers in a SCSI lower-leveldriver Lee Xing
2004-04-07 20:57 ` Arjan van de Ven
2004-04-08  1:09   ` Abhishek Rai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox