]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9e5a3917468906631addfcbdb87cda1e4513d10
treefca8d28ad96f8857ea2f2c88b9301a38eeaf016b
parentb35e705c97929809b87cecdbed7a7110d5a73aaa
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