]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: get rid of ->cmd_size in the hardware queue
authorJens Axboe <axboe@fb.com>
Wed, 7 Jan 2015 17:44:04 +0000 (10:44 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 7 Jan 2015 17:44:04 +0000 (10:44 -0700)
commit483fcb17559fd223d708ed6da1ec79f08f4b05fc
tree86301826f0fe57700c97828bf9fc2657c11c0c4e
parentc050ffabc8741577a165eb4ae1499c1964c6fd5f
blk-mq: get rid of ->cmd_size in the hardware queue

We store it in the tag set, we don't need it in the hardware queue.
While removing cmd_size, place ->queue_num further down to avoid
a hole on 64-bit archs. It's not used in any fast paths, so we
can safely move it.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h