mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
dm cache: only use overwrite optimisation for promotion when in writeback mode
commit f29a3147e2 upstream.
Overwrite causes the cache block and origin blocks to diverge, which
is only allowed in writeback mode.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
4fc2985bdd
commit
23c115ebdf
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue