]> git.baikalelectronics.ru Git - kernel.git/commit
block: track request size in blk_issue_stat
authorShaohua Li <shli@fb.com>
Mon, 27 Mar 2017 22:19:41 +0000 (15:19 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 28 Mar 2017 14:02:20 +0000 (08:02 -0600)
commitb536745442badb6ae31af2452a4afe794abe2ad3
treee2ff562f879d0b581028ba71a028cda9319039e5
parent0bad77fc7f86b63bebb7fd3722df0f51336c1a1c
block: track request size in blk_issue_stat

Currently there is no way to know the request size when the request is
finished. Next patch will need this info. We could add extra field to
record the size, but blk_issue_stat has enough space to record it, so
this patch just overloads blk_issue_stat. With this, we will have 49bits
to track time, which still is very long time.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq.c
block/blk-stat.h
block/blk-wbt.h
include/linux/blk_types.h