summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorColy Li2019-06-28 14:00:00 +0200
committerJens Axboe2019-06-28 15:39:18 +0200
commitdff90d58a1c815b87b2603295382c97e78064349 (patch)
tree01a21f99e7eca59b8b6f13008ac82075acc4c220 /block
parentbcache: performance improvement for btree_flush_write() (diff)
downloadkernel-qcow2-linux-dff90d58a1c815b87b2603295382c97e78064349.tar.gz
kernel-qcow2-linux-dff90d58a1c815b87b2603295382c97e78064349.tar.xz
kernel-qcow2-linux-dff90d58a1c815b87b2603295382c97e78064349.zip
bcache: add reclaimed_journal_buckets to struct cache_set
Now we have counters for how many times jouranl is reclaimed, how many times cached dirty btree nodes are flushed, but we don't know how many jouranl buckets are really reclaimed. This patch adds reclaimed_journal_buckets into struct cache_set, this is an increasing only counter, to tell how many journal buckets are reclaimed since cache set runs. From all these three counters (reclaim, reclaimed_journal_buckets, flush_write), we can have idea how well current journal space reclaim code works. Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions