summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/device-mapper
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-06-15 20:45:55 +0300
committerMike Snitzer <snitzer@redhat.com>2021-06-16 19:57:14 +0300
commitee55b92a7391bf871939330f662651b54be51b73 (patch)
tree816934d46e7a67debf1b3612260750cbddb34b5d /Documentation/admin-guide/device-mapper
parent293128b1ef5ae2cfa7403d54e183fe689ed5d303 (diff)
downloadlinux-ee55b92a7391bf871939330f662651b54be51b73.tar.xz
dm writecache: flush origin device when writing and cache is full
Commit d53f1fafec9d086f1c5166436abefdaef30e0363 ("dm writecache: do direct write if the cache is full") changed dm-writecache, so that it writes directly to the origin device if the cache is full. Unfortunately, it doesn't forward flush requests to the origin device, so that there is a bug where flushes are being ignored. Fix this by adding missing flush forwarding. For PMEM mode, we fix this bug by disabling direct writes to the origin device, because it performs better. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: d53f1fafec9d ("dm writecache: do direct write if the cache is full") Cc: stable@vger.kernel.org # v5.7+ Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/device-mapper')
0 files changed, 0 insertions, 0 deletions