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

From
Bart Van Assche <hidden>
Date
2017-01-27 17:45:48
Also in
dm-devel, linux-block, linux-scsi
Reply to
Christoph Hellwig, 2017-01-25
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>
Thread (80 messages) 80 messages, 6 authors, last reply 2017-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help