From: Christof Schmitt Date: Fri, 11 Jan 2008 09:09:43 +0000 (+0100) Subject: blktrace: Add blktrace ioctls to SCSI generic devices X-Git-Tag: v2.6.25-rc1~1171^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6da127ad0918f93ea93678dad62ce15ffed18797;p=pandora-kernel.git blktrace: Add blktrace ioctls to SCSI generic devices Since the SCSI layer uses the request queues from the block layer, blktrace can also be used to trace the requests to all SCSI devices (like SCSI tape drives), not only disks. The only missing part is the ioctl interface to start and stop tracing. This patch adds the SETUP, START, STOP and TEARDOWN ioctls from blktrace to the sg device files. With this change, blktrace can be used for SCSI devices like for disks, e.g.: blktrace -d /dev/sg1 -o - | blkparse -i - Signed-off-by: Christof Schmitt Signed-off-by: Jens Axboe --- Reading git-diff-tree failed