diff options
author | Mikulas Patocka <[email protected]> | 2021-01-23 09:19:56 -0500 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2021-02-03 10:10:05 -0500 |
commit | cb728484a7710c202f02b96aa0962ce9b07aa5c2 (patch) | |
tree | 571ea5b9d22f486c26c06a3d2641d704e20bc9ac /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 09d85f8d8909ec8baa07479ba5777bbca24961f3 (diff) |
dm writecache: fix performance degradation in ssd mode
Fix a thinko in ssd_commit_superblock. region.count is in sectors, not
bytes. This bug doesn't corrupt data, but it causes performance
degradation.
Signed-off-by: Mikulas Patocka <[email protected]>
Fixes: dc8a01ae1dbd ("dm writecache: optimize superblock write")
Cc: [email protected] # v5.7+
Reported-by: J. Bruce Fields <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions