Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12323

How to find the scsi_host_template functions for a block device

$
0
0

I was looking into the IO path of the linux kernel, and towards the bottom in the function scsi_dispatch_cmd(), the driver code is invoked,

rtn = host->hostt->queuecommand(host, cmd);

So, for my block device like /dev/sda/, is there a way to find out which hosst or scsi_host_template it is using. I want to check which function queuecommand is pointing to..


Viewing all articles
Browse latest Browse all 12323

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>