blk-mq: move update of tags->rqs to __blk_mq_alloc_request()
authorOmar Sandoval <osandov@fb.com>
Mon, 27 Feb 2017 17:47:55 +0000 (09:47 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 2 Mar 2017 15:56:04 +0000 (08:56 -0700)
commit562bef4259776c19cb2423d43af1f99183910a4d
tree44ff290db12ef692a735e84022de74d80c60098c
parent59748398992c9c3e9d600e56cb2a5c0c546fe129
blk-mq: move update of tags->rqs to __blk_mq_alloc_request()

No functional difference, it just makes a little more sense to update
the tag map where we actually allocate the tag.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
block/blk-mq-sched.c
block/blk-mq.c