diff options
author | Jens Axboe <axboe@fb.com> | 2017-04-28 18:45:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-02 15:52:08 +0200 |
commit | 3f5e6a35774cd6bb4fd6b32edb4efd2a3f90e4dd (patch) | |
tree | cbeaac6a62d43fbee2ee12badb3e00a7d8cf7fdc /block | |
parent | mtip32xx: abstract out "are any commands active" helper (diff) | |
download | linux-3f5e6a35774cd6bb4fd6b32edb4efd2a3f90e4dd.tar.xz linux-3f5e6a35774cd6bb4fd6b32edb4efd2a3f90e4dd.zip |
mtip32xx: convert internal command issue to block IO path
The driver special cases certain things for command issue, depending
on whether it's an internal command or not. Make the internal commands
use the regular infrastructure for issuing IO.
Since this is an 8-group souped up AHCI variant, we have to deal
with NCQ vs non-queueable commands. Do this from the queue_rq
handler, by backing off unless the drive is idle.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions