Minor improvement in debugging

Warner Losh imp at bsdimp.com
Fri Dec 4 17:04:02 UTC 2015


While writing the NVMe CAM attachment, I noticed that the xpt_action()
routine’s logging would be a lot more useful if we logged the function
code. In addition, it is useful to log calls to the SIM inside of
xpt_action_default(). Some sims have debugs, others don’t.

This review fixes that. https://reviews.freebsd.org/D4382

Warner

P.S. I’ll be sending out a bunch of review pointers to this list.
If there’s a more-preferred way to do this, please let me know.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20151204/e43a936d/attachment.bin>


More information about the freebsd-scsi mailing list