aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-thin-metadata.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-12-04 16:30:01 -0500
committerMike Snitzer <snitzer@redhat.com>2013-12-10 16:35:12 -0500
commit5383ef3a929a1366e2ced45cd6d74be7aa2a2281 (patch)
tree263f0b025cdedad9ac4ea151a8fa0f25093682f8 /drivers/md/dm-thin-metadata.h
parentdm thin: always fallback the pool mode if commit fails (diff)
downloadlinux-dev-5383ef3a929a1366e2ced45cd6d74be7aa2a2281.tar.xz
linux-dev-5383ef3a929a1366e2ced45cd6d74be7aa2a2281.zip
dm thin: re-establish read-only state when switching to fail mode
If the thin-pool transitioned to fail mode and the thin-pool's table were reloaded for some reason: the new table's default pool mode would be read-write, though it will transition to fail mode during resume. When the pool mode transitions directly from PM_WRITE to PM_FAIL we need to re-establish the intermediate read-only state in both the metadata and persistent-data block manager (as is usually done with the normal pool mode transition sequence: PM_WRITE -> PM_READ_ONLY -> PM_FAIL). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
0 files changed, 0 insertions, 0 deletions