On 12/20/2012 12:20 PM, abacus liang wrote: > Hi, > > I am new to LIO, and interested in using LIO with ISCSI, FCP FCoE > etc. I want to be able to see the incoming SCSI commands from my > userspace code. I wonder if LIO provides a userspace library for this > purpose? > > Your input is highly appreciated! Use net capture tools like libpcap? scapy? pcapy? wireshark? LIO doesn't provide this to userspace. If you needed all fabrics LIO supports, you could probably do this with some fancy ftracing or systemtap-ing. Finally, you could write a LIO user-passthrough backstore (the most work but yes please :) and that would naturally make tracing much easier. Regards -- Andy -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html