blk-mq: request initialization optimizations
authorJens Axboe <axboe@fb.com>
Thu, 29 May 2014 17:00:11 +0000 (11:00 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:50 +0000 (12:54 -0600)
commit9b04028aa7f00ca6f3e96c03f1beeb90462b2faf
treeb40d665188bacf7ac7ba2d02107b540615ca4fdd
parentd5aecd3741802d6baea9984e49ee8e5925a1505f
blk-mq: request initialization optimizations

We currently clear a lot more than we need to, so make that a bit
more clever. Make some of the init dependent on features, like
only setting start_time if we are going to use it.

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