From: Douglas Gilbert <dgilbert@interlog.com>
To: Hans de Goede <hdegoede@redhat.com>,
SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: Logging of all scsi commands to a certain target?
Date: Sat, 23 Aug 2014 11:48:11 -0400 [thread overview]
Message-ID: <53F8B7BB.3000708@interlog.com> (raw)
In-Reply-To: <53F8AB3F.50901@redhat.com>
On 14-08-23 10:54 AM, Hans de Goede wrote:
> Hi,
>
> Now that the UAS driver is no longer marked as CONFIG_BROKEN,
> I'm getting quite a few bug reports about issues with UAS drives.
>
> Some of these seem to be related to the scsi core and/or the sd
> driver sending a command the device does not like.
>
> As such I'm wondering if there us a way to get the kernel
> to log each scsi command ? Or at least is there a helper
> function to log scsi commands which I can add to the uas driver
> (under a verbose option) to allow this ?
Look for uses of this exported function:
void scsi_print_command(struct scsi_cmnd *cmd)
next prev parent reply other threads:[~2014-08-23 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-23 14:54 Logging of all scsi commands to a certain target? Hans de Goede
2014-08-23 15:48 ` Douglas Gilbert [this message]
2014-08-24 21:08 ` Christoph Hellwig
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=53F8B7BB.3000708@interlog.com \
--to=dgilbert@interlog.com \
--cc=hdegoede@redhat.com \
--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