public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christof Schmitt <christof.schmitt@de.ibm.com>
To: linux-scsi@vger.kernel.org, linux-btrace@vger.kernel.org
Subject: blktrace for all SCSI devices
Date: Wed, 13 Jun 2007 13:34:17 +0200	[thread overview]
Message-ID: <20070613113417.GA14694@schmichrtp> (raw)

As a follow-up to earlier discussions about adding statistics to the
SCSI layer (http://lkml.org/lkml/2006/9/26/151), i am looking what
data blktrace can provide.

One problem is that blktrace currently can only get the trace data
from block device files. This excludes retrieving trace data from
other SCSI devices, especially from tape drives. Looking at the code,
the SCSI layer internally uses the same request_queue per device. It
looks like the blktrace ioctls as interface to userspace are the first
thing that is missing. Is this all?

What would be a going idea to make the blktrace ioctls available for
all SCSI devices? My first approach would be to add them to the sg
devices. Any comments?

If there are now objections, i will try to implement the ioctls for sg
devices, to see if this actually works.

--
Christof Schmitt

                 reply	other threads:[~2007-06-13 11:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070613113417.GA14694@schmichrtp \
    --to=christof.schmitt@de.ibm.com \
    --cc=linux-btrace@vger.kernel.org \
    --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