diff options
author | Sahitya Tummala <[email protected]> | 2020-04-16 11:47:41 +0530 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2020-04-17 09:17:00 -0700 |
commit | df423399757531c20d495bf6b8b83a8dcca3565c (patch) | |
tree | bacc3f517b7b91f2e726d3c84e9d82980089e2fb /lib/mpi/mpi-mul.c | |
parent | ce4c638cdd52b302247434daed4c127f258d9860 (diff) |
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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions