diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2021-01-23 15:19:56 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-02-03 16:10:05 +0100 |
commit | cb728484a7710c202f02b96aa0962ce9b07aa5c2 (patch) | |
tree | 571ea5b9d22f486c26c06a3d2641d704e20bc9ac /drivers/soc | |
parent | dm integrity: introduce the "fix_hmac" argument (diff) | |
download | linux-cb728484a7710c202f02b96aa0962ce9b07aa5c2.tar.xz linux-cb728484a7710c202f02b96aa0962ce9b07aa5c2.zip |
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 <mpatocka@redhat.com>
Fixes: dc8a01ae1dbd ("dm writecache: optimize superblock write")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions