[dm-devel] [PATCH 04/11] scsi: libsas: Send SMP commands through the block layer

Christoph Hellwig hch at lst.de
Tue Mar 22 11:23:31 UTC 2022


Wouldn't it make more sense to have a new member in th Scsi_Host_template
that gets called for these request early from ->queue_rq instead of the
new request_queue and custome ops?

FYI, I think reusing the block layer for all these command is a good
idea but the way it is done here seems a bit ugly and not very
maintainable.



More information about the dm-devel mailing list