https://github.com/torvalds/linux
Revision ea2dd8c1ed0becee9812cf0840a9cd553ed398fe authored by Mike Snitzer on 20 March 2013, 17:21:28 UTC, committed by Alasdair G Kergon on 20 March 2013, 17:21:28 UTC
When reading the dm cache metadata from disk, ignore the policy hints
unless they were generated by the same major version number of the same
policy module.

The hints are considered to be private data belonging to the specific
module that generated them and there is no requirement for them to make
sense to different versions of the policy that generated them.
Policy modules are all required to work fine if no previous hints are
supplied (or if existing hints are lost).

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
1 parent 4e7f506
History
Tip revision: ea2dd8c1ed0becee9812cf0840a9cd553ed398fe authored by Mike Snitzer on 20 March 2013, 17:21:28 UTC
dm cache: policy ignore hints if generated by different version
Tip revision: ea2dd8c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.9 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top