dm raid: add prerequisite functions and definitions for reshaping
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 13 Jun 2016 15:55:13 +0000 (17:55 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 14 Jun 2016 22:52:11 +0000 (18:52 -0400)
commit40ba37e5647c9241cbf5f63495815d7022e00a29
tree06bd70b7dd86947e1685aa45f209bad75321914a
parenta30cbc0d1c80f2d07a1b973e1f4c58d925a3ff4a
dm raid: add prerequisite functions and definitions for reshaping

Add rs_is_reshapable(), rs_data_stripes(), rs_reshape_requested(),
rs_set_dev_and_array_sectors() and rs_adjust_data_offsets()

Remove superfluous check for reshape message

Correct runtime bit definitions to be incremental

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c