summaryrefslogtreecommitdiffstats
path: root/firmware/myricom
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-03 08:28:41 +0300
committerJens Axboe <axboe@fb.com>2017-01-27 15:08:35 -0700
commit0a6ac4ee7c21098cb0e41cc4053b9d9ddc9e70a1 (patch)
tree54f19534fd4654192c2d9b583eb85ae97f491aa2 /firmware/myricom
parent0fbc3e0ff623f1012e7c2af96e781eeb26bcc0d7 (diff)
downloadblackbird-op-linux-0a6ac4ee7c21098cb0e41cc4053b9d9ddc9e70a1.tar.gz
blackbird-op-linux-0a6ac4ee7c21098cb0e41cc4053b9d9ddc9e70a1.zip
scsi: respect unchecked_isa_dma for blk-mq
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. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'firmware/myricom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud