diff options
| author | Joe Thornber <ejt@redhat.com> | 2015-01-26 11:38:21 +0000 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-02-04 10:58:25 +0000 |
| commit | 3deb5859ee2211b73be48bf444cde991a6133045 (patch) | |
| tree | 9aaeaa493df65ebcac0601aa986e3da4b7c59506 /include | |
| parent | 2d9af2b8acc3155ecde5ad6dff1fa540f37e3e8a (diff) | |
dm thin: don't allow messages to be sent to a pool target in READ_ONLY or FAIL mode
commit 2a7eaea02b99b6e267b1e89c79acc6e9a51cee3b upstream.
You can't modify the metadata in these modes. It's better to fail these
messages immediately than let the block-manager deny write locks on
metadata blocks. Otherwise these failed metadata changes will trigger
'needs_check' to get set in the metadata superblock -- requiring repair
using the thin_check utility.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
