Re: Logging of all scsi commands to a certain target?

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

 



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)

--
To unsubscribe from this list: 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