diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-14 09:42:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-22 18:47:35 +0200 |
commit | cc97923a5bccc776851c242b61015faf288d5c22 (patch) | |
tree | d6510d4f326674e96bdf70c4f07472f492537db8 /drivers/macintosh/via-macii.c | |
parent | scsi: merge scsi_init_sgtable into scsi_init_io (diff) | |
download | linux-cc97923a5bccc776851c242b61015faf288d5c22.tar.xz linux-cc97923a5bccc776851c242b61015faf288d5c22.zip |
block: move dma drain handling to scsi
Don't burden the common block code with with specifics of the libata DMA
draining mechanism. Instead move most of the code to the scsi midlayer.
That also means the nr_phys_segments adjustments in the blk-mq fast path
can go away entirely, given that SCSI never looks at nr_phys_segments
after mapping the request to a scatterlist.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/macintosh/via-macii.c')
0 files changed, 0 insertions, 0 deletions