diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-02-14 23:10:55 (GMT) |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-03-04 16:17:51 (GMT) |
commit | cdc2b4158405f1975f9d5205096f08430eda1c0e (patch) | |
tree | c04121db0a4f02f49354dd9a1f5ed70aa67ca09f /drivers/md/dm-thin-metadata.h | |
parent | 2c945820cab96ebf265598d998e63ef22393d0d4 (diff) | |
download | linux-cdc2b4158405f1975f9d5205096f08430eda1c0e.tar.xz |
dm thin: synchronize the pool mode during suspend
Commit b5330655 ("dm thin: handle metadata failures more consistently")
increased potential for the pool's mode to be changed in response to
metadata operation failures.
When the pool mode is changed it isn't synchronized with the mode in
pool_features stored in the target's context (ti->private) that is used
as the basis for (re)establishing the pool mode during resume via
bind_control_target.
It is important that we synchronize the pool mode when it is changed
otherwise the pool may experience and unexpected mode transition on the
next resume (especially if there was no new table load).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
0 files changed, 0 insertions, 0 deletions