[dm-devel] [PATCH 12/18] scsi: respect unchecked_isa_dma for blk-mq

Bart Van Assche Bart.VanAssche at sandisk.com
Fri Jan 27 17:45:14 UTC 2017


On Wed, 2017-01-25 at 18:25 +0100, Christoph Hellwig wrote:
> Currently blk-mq always allocates the sense buffer using normal GFP_KERNEL
> allocation.  Refactor the cmd pool code to split the cmd and sense allocation
> and share the code to allocate the sense buffers as well as the sense buffer
> slab caches between the legacy and blk-mq path.
> 
> Note that this switches to lazy allocation of the sense slab caches - the
> slab caches (not the actual allocations) won't be destroy until the scsi
> module is unloaded instead of keeping track of hosts using them.

Reviewed-by: Bart Van Assche <bart.vanassche at sandisk.com>




More information about the dm-devel mailing list