scsi: sd: sd_zbc: Trace zone append emulation
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 30 Nov 2022 10:36:16 +0000 (02:36 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Dec 2022 03:13:55 +0000 (03:13 +0000)
commit9f5436f47c58463f91bfeebcc4613138625098c2
tree76d8f991362ec3b42212ab0c856c80ce4362bec4
parent6456ab5d7ccd4fae6e136025480ad4ad91a7c795
scsi: sd: sd_zbc: Trace zone append emulation

Add tracepoints to the SCSI zone append emulation in order to trace the
zone start to write-pointer aligned LBA translation and the corresponding
completion.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/d103bcf5f90139143469f2a0084c74bd9e03ad4a.1669804487.git.johannes.thumshirn@wdc.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd_trace.h [new file with mode: 0644]
drivers/scsi/sd_zbc.c