block: kill request ->cpu member mq-conversions
authorJens Axboe <axboe@kernel.dk>
Wed, 31 Oct 2018 23:01:22 +0000 (17:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:41 +0000 (19:47 -0700)
commit204f8993c8c87a7b3769fb9e9d45d94180b4a868
tree371943e7013a4d9591035a03a4f0fd79bb26928e
parent10ece0f10efc607c0110d38b5ff4ba24147a9544
block: kill request ->cpu member

This was used for completion placement for the legacy path,
but for mq we have rq->mq_ctx->cpu for that. Add a helper
to get the request CPU assignment, as the mq_ctx type is
private to blk-mq.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-merge.c
block/blk-mq.c
block/blk-softirq.c
drivers/scsi/bnx2i/bnx2i_hwi.c
drivers/scsi/csiostor/csio_scsi.c
drivers/scsi/qla2xxx/qla_os.c
include/linux/blk-mq.h
include/linux/blkdev.h