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>
Thu, 29 May 2014 17:00:11 +0000 (11:00 -0600)
commit4b570521be54666e6ad7e5f47af92fd609fbd8b5
treefca8d28ad96f8857ea2f2c88b9301a38eeaf016b
parent05f1dd5315217398fc8d122bdee80f96a9f21274
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