summaryrefslogtreecommitdiffstats
path: root/include/trace/events/f2fs.h
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2020-04-16 08:17:41 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2020-04-17 18:17:00 +0200
commitdf423399757531c20d495bf6b8b83a8dcca3565c (patch)
treebacc3f517b7b91f2e726d3c84e9d82980089e2fb /include/trace/events/f2fs.h
parentf2fs: fix to handle error path of f2fs_ra_meta_pages() (diff)
downloadlinux-df423399757531c20d495bf6b8b83a8dcca3565c.tar.xz
linux-df423399757531c20d495bf6b8b83a8dcca3565c.zip
f2fs: Fix the accounting of dcc->undiscard_blks
When a discard_cmd needs to be split due to dpolicy->max_requests, then for the remaining length it will be either merged into another cmd or a new discard_cmd will be created. In this case, there is double accounting of dcc->undiscard_blks for the remaining len, due to which it shows incorrect value in stats. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions