diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2017-12-02 01:03:51 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-12-08 10:59:57 -0500 |
commit | 61e06e2c3ebd986050958513bfa40dceed756f8f (patch) | |
tree | 3dbb38d142ac4cfdb716f27f5f5bc8e86ae366f7 /drivers/dax/dax.h | |
parent | 7501537ee3a5e6bd01c0084af141e4fa84e652c0 (diff) |
dm raid: fix raid set size revalidation
The raid set size is being revalidated unconditionally before a
reshaping conversion is started. MD requires the size to only be
reduced in case of a stripe removing (i.e. shrinking) reshape but not
when growing because the raid array has to stay small until after the
growing reshape finishes.
Fix by avoiding the size revalidation in preresume unless a shrinking
reshape is requested.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/dax/dax.h')
0 files changed, 0 insertions, 0 deletions