]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: trace missed reading by cache_missed
authorTang Junhui <tang.junhui.linux@gmail.com>
Mon, 8 Oct 2018 12:41:08 +0000 (20:41 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Oct 2018 14:19:39 +0000 (08:19 -0600)
commit11a6e4e5e46b0dcc9aeb7799d443a6049eb63fd4
treefa25b571251470a91017d62cf26ffee35c083045
parent0904d8150aed5d38b8268c5a62a6cd0eb2f37538
bcache: trace missed reading by cache_missed

Missed reading IOs are identified by s->cache_missed, not the
s->cache_miss, so in trace_bcache_read() using trace_bcache_read
to identify whether the IO is missed or not.

Signed-off-by: Tang Junhui <tang.junhui.linux@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/request.c