summaryrefslogtreecommitdiffstats
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-11-24 15:06:22 +0100
committerMike Snitzer <snitzer@redhat.com>2014-12-01 17:30:10 +0100
commit3e2e1c3098fcc02369f0eea822d0a7914b691567 (patch)
treed7ccfeacc50f7e3b730daad45f3ad11c70570153 /Documentation/arm64
parentdm cache: fix some issues with the new discard range support (diff)
downloadlinux-3e2e1c3098fcc02369f0eea822d0a7914b691567.tar.xz
linux-3e2e1c3098fcc02369f0eea822d0a7914b691567.zip
dm cache: when reloading a discard bitset allow for a different discard block size
The discard block size can change if the origin changes size or if an old DM cache is upgraded from using a discard block size that was equal to cache block size. To fix this an extent of discarded blocks is established for the purpose of translating the old discard block size to the new in-core discard block size and set bits. The old (potentially huge) discard bitset is left ondisk until it is re-written using the new in-core information on the next successful DM cache shutdown. Fixes: 7ae34e777896 ("dm cache: improve discard support") Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions