From: Arjan van de Ven <arjanv@redhat.com>
To: Lee Xing <lxing@crossroads.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Help - how to identify the callers in a SCSI lower-leveldriver
Date: Wed, 7 Apr 2004 22:57:02 +0200 [thread overview]
Message-ID: <20040407205701.GA27311@devserv.devel.redhat.com> (raw)
In-Reply-To: <519672568F040C41B6FAC21ADF51B18FEFA0@mailnode1.commstor.crossroads.com>
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
On Wed, Apr 07, 2004 at 03:42:45PM -0500, Lee Xing wrote:
> 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.
wow that sounds like a great way to kill performance, that many extra layers
>
> 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.
well... it's a fundamentally hard problem. For example the application that
submitted the IO may no longer exist on disk by the time you get to see the
IO, or the process may already have exited. It sounds like a fundamentally
fragile/broken concept to use this information for *anything*, it's still
not clear to me what you'd use it for (other than doing a gross hack by
faking IO priorities based on application name but that's sooo not the right
solution to that problem)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-04-07 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2004-04-08 1:09 ` Abhishek Rai
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=20040407205701.GA27311@devserv.devel.redhat.com \
--to=arjanv@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=lxing@crossroads.com \
/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