skd: Coalesce struct request and struct skd_request_context
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:31 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commite7278a8b31358cb8912cac9357dc5d9892d23606
tree302e149771a9b082eb0301549edaeb59f1893f34
parent5d003240fdbaa59b6746f5d47b31da6864888205
skd: Coalesce struct request and struct skd_request_context

Set request_queue.cmd_size, introduce skd_init_rq() and skd_exit_rq()
and remove skd_device.skreq_table.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c