bcache: print number of keys in trace_bcache_journal_write
authorGuoju Fang <fangguoju@gmail.com>
Thu, 13 Dec 2018 14:53:57 +0000 (22:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Dec 2018 15:15:54 +0000 (08:15 -0700)
commite78bd0d26f7396c7bd17be60d9686be8ef8e453a
tree0a20744ad966b2b90f4db19cb09b64b5fbcbc467
parentcc38ca7ed54a1df04ae9f23614b348ebfc918029
bcache: print number of keys in trace_bcache_journal_write

Sometimes flush journal may be very frequent, so it's useful to dump
number of keys every time write journal.

Signed-off-by: Guoju Fang <fangguoju@gmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/journal.c
include/trace/events/bcache.h