On 07/04/2020 19:00, Christoph Hellwig wrote: > - scsi_mq_free_sgtables - yes, this would need to be done by the driver > and actually is what undoes scsi_init_io. I think you want to export > this instead (and remove the _mq in the name while you are at it) OK, I was afraid to expose too much internals if I export scsi_mq_free_sgtables() but, sure that's a trivial change.