device mapper fixes for 4.12-rc1
Hi Linus,
The following changes since commit 7b66f13207e60e7c550af730986e77e38a0c69a3:
Merge tag 'for-4.12/dm-post-merge-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm (2017-05-03 10:34:03 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-4.12/dm-fixes
for you to fetch changes up to 10add84e276432d9dd8044679a1028dd4084117e:
dm cache metadata: fail operations if fail_io mode has been established (2017-05-05 14:40:13 -0400)
Please pull, thanks.
Mike
----------------------------------------------------------------
- DM cache metadata fixes to short-circuit operations that require the metadata not be in 'fail_io' mode. Otherwise crashes are possible.
- a DM cache fix to address the inability to adapt to continuous IO that happened to also reflect a changing working set (which required old blocks be demoted before the new working set could be promoted)
- a DM cache smq policy cleanup that fell out from reviewing the above
- fix the Kconfig help text for CONFIG_DM_INTEGRITY
----------------------------------------------------------------
Joe Thornber (1):
dm cache policy smq: allow demotions to happen even during continuous IO
Mike Snitzer (3):
dm cache policy smq: cleanup free_target_met() and clean_target_met() dm integrity: improve the Kconfig help text for DM_INTEGRITY dm cache metadata: fail operations if fail_io mode has been established
drivers/md/Kconfig | 15 +++++++++++++-- drivers/md/dm-cache-metadata.c | 12 ++++++++---- drivers/md/dm-cache-policy-smq.c | 30 ++++++++++++++++++------------ 3 files changed, 39 insertions(+), 18 deletions(-)