diff options
author | Nikos Tsironis <ntsironis@arrikto.com> | 2021-01-22 17:25:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-04 12:15:42 +0100 |
commit | f1a4a3cdeb444d56649e54746890dac5745a2209 (patch) | |
tree | e33f0f6c9a3cef375eceae853289e5d865b69a54 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | da27b481f08a7955f22c2283e1a0da642aaa620c (diff) |
dm era: Verify the data block size hasn't changed
commit c8e846ff93d5eaa5384f6f325a1687ac5921aade upstream.
dm-era doesn't support changing the data block size of existing devices,
so check explicitly that the requested block size for a new target
matches the one stored in the metadata.
Fixes: eec40579d84873 ("dm: add era target")
Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Reviewed-by: Ming-Hung Tsai <mtsai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions