commit | 88c7b2b75132c3ff8180b71e4f06cf043a00eac8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Aug 25 08:07:30 2016 -0600 |
committer | Jens Axboe <axboe@fb.com> | Mon Aug 29 08:13:21 2016 -0600 |
tree | fa40cb8073832b2321b3f28a3fd782c125364dfb | |
parent | 8d354f133e86dd03ea7885a91df398c55ff699ff [diff] |
blk-mq: prefetch request in blk_mq_tag_to_rq() When drivers or the core calls this function, they usually dereference the request shortly there after. Prefetch the first cache line. Profiling IO workloads shows that this is the most common cache miss on the block side of things. Signed-off-by: Jens Axboe <axboe@fb.com>