diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-04-27 07:45:18 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-27 07:45:18 -0600 |
commit | a4e84aae8139aca9fbfbced1f45c51ca81b57488 (patch) | |
tree | 21b67ddec9938be7ea6222a301074f0274c42780 /block/blk-mq-sched.c | |
parent | 0eebd005dd07c162e6af053be0ab440dd766b1d5 (diff) | |
download | linux-a4e84aae8139aca9fbfbced1f45c51ca81b57488.tar.bz2 |
mtip32xx: use runtime tag to initialize command header
mtip32xx supposes that 'request_idx' passed to .init_request()
is tag of the request, and use that as request's tag to initialize
command header.
After MQ IO scheduler is in, request tag assigned isn't same with
the request index anymore, so cause strange hardware failure on
mtip32xx, even whole system panic is triggered.
This patch fixes the issue by initializing command header via
request's real tag.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions