diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2021-06-21 20:48:29 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-21 22:15:10 +0200 |
commit | 867de40c4c23e6d7f89f9ce4272a5d1b1484c122 (patch) | |
tree | ebd3f7cb8dd216e4ab3f0ec96fc19565f52f35dc /Documentation/admin-guide/device-mapper | |
parent | dm writecache: flush origin device when writing and cache is full (diff) | |
download | linux-867de40c4c23e6d7f89f9ce4272a5d1b1484c122.tar.xz linux-867de40c4c23e6d7f89f9ce4272a5d1b1484c122.zip |
dm writecache: write at least 4k when committing
SSDs perform badly with sub-4k writes (because they perfrorm
read-modify-write internally), so make sure writecache writes at least
4k when committing.
Fixes: 991bd8d7bc78 ("dm writecache: commit just one block, not a full page")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/device-mapper')
0 files changed, 0 insertions, 0 deletions