diff options
author | 2016-11-29 22:37:30 +0100 | |
---|---|---|
committer | 2016-12-08 14:13:12 -0500 | |
commit | 11e2968478edc07a75ee1efb45011b3033c621c2 (patch) | |
tree | c8b204186efd6e7e1f12dd85d9aaa2d29f6428ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm raid: don't allow "write behind" with raid4/5/6 (diff) | |
download | linux-dev-11e2968478edc07a75ee1efb45011b3033c621c2.tar.xz linux-dev-11e2968478edc07a75ee1efb45011b3033c621c2.zip |
dm raid: fix discard support regression
Commit ecbfb9f118 ("dm raid: add raid level takeover support") moved the
configure_discard_support() call from raid_ctr() to raid_preresume().
Enabling/disabling discard _must_ happen during table load (through the
.ctr hook). Fix this regression by moving the
configure_discard_support() call back to raid_ctr().
Fixes: ecbfb9f118 ("dm raid: add raid level takeover support")
Cc: stable@vger.kernel.org # 4.8+
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions