# Re: \[PATCH 12/18\] scsi: respect unchecked\_isa\_dma for blk-mq

- From: Bart Van Assche \<hidden\>
- Date: 2017-01-27 17:45:48 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/01/6370210
- Thread: https://ratatoskr.run/linux-scsi/2017/01/6370318/t.md

```text
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 <redacted>
```
