diff options
author | 2014-11-27 12:26:46 +0000 | |
---|---|---|
committer | 2014-12-01 11:30:12 -0500 | |
commit | 1e32134a5a404e80bfb47fad8a94e9bbfcbdacc5 (patch) | |
tree | 1a0b15c7664ec260ba26bbe6bb2e1ac4ce9c4a52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm cache: only use overwrite optimisation for promotion when in writeback mode (diff) | |
download | wireguard-linux-1e32134a5a404e80bfb47fad8a94e9bbfcbdacc5.tar.xz wireguard-linux-1e32134a5a404e80bfb47fad8a94e9bbfcbdacc5.zip |
dm cache: dirty flag was mistakenly being cleared when promoting via overwrite
If the incoming bio is a WRITE and completely covers a block then we
don't bother to do any copying for a promotion operation. Once this is
done the cache block and origin block will be different, so we need to
set it to 'dirty'.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions