diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2019-10-01 17:47:52 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-11-05 14:02:00 -0500 |
commit | 22c992e1a868478b9fe83701cdf6329103c2ac06 (patch) | |
tree | 2d9df08d6a5c6ea135420e171c781d6c78b7f325 /drivers/md/md.c | |
parent | 6ba01df72b4b63a26b4977790f58d8f775d2992c (diff) | |
download | linux-22c992e1a868478b9fe83701cdf6329103c2ac06.tar.gz linux-22c992e1a868478b9fe83701cdf6329103c2ac06.tar.bz2 linux-22c992e1a868478b9fe83701cdf6329103c2ac06.zip |
dm raid: change rs_set_dev_and_array_sectors API and callers
Add a size argument to rs_set_dev_and_array_sectors as prerequisite
to fixing grown device resynchronization not occuring when new MD
bitmap pages have to be allocated as a result of the extension in
a follwup patch.
Also avoid code duplication by using rs_set_rdev_sectors
in the aforementioned function.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions