commit | 2e17a262a2371d38d2ec03614a2675a32cef9912 | [log] [tgz] |
---|---|---|
author | Tang Junhui <tang.junhui.linux@gmail.com> | Mon Oct 08 20:41:12 2018 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 08 08:19:45 2018 -0600 |
tree | c2f24d6514474fabf05c17855cc263e7653fbfbb | |
parent | 4516da427fcf214af7d826273ab275f1d6e56ef0 [diff] |
bcache: correct dirty data statistics When bcache device is clean, dirty keys may still exist after journal replay, so we need to count these dirty keys even device in clean status, otherwise after writeback, the amount of dirty data would be incorrect. 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>