]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
jbd2: Fix statistics for the number of logged blocks
authorJan Kara <jack@suse.cz>
Tue, 5 Nov 2019 16:44:19 +0000 (17:44 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 05:05:10 +0000 (00:05 -0500)
commit5539f8137814562a0547f5b5aeeca195215e3e16
tree96aa225f2cde9f2644d74f632c8b9ca08603b441
parentab35d390b9d45264de378575eb48a73c03fb81c2
jbd2: Fix statistics for the number of logged blocks

BugLink: https://bugs.launchpad.net/bugs/1860816
[ Upstream commit 015c6033068208d6227612c878877919f3fcf6b6 ]

jbd2 statistics counting number of blocks logged in a transaction was
wrong. It didn't count the commit block and more importantly it didn't
count revoke descriptor blocks. Make sure these get properly counted.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-13-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/jbd2/commit.c