commit | 53be73a5d75f477e52c9275ed7aa9307a8b73e5c | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Tue Oct 01 17:47:55 2019 +0200 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Nov 05 14:04:37 2019 -0500 |
tree | 8c444c33071282722a2c27da19727952c1b3f149 | |
parent | f9f3ee9130eb588c75e4a145837d4e6214947c40 [diff] |
dm raid: streamline rs_get_progress() and its raid_status() caller side Pass already deciphered state into rs_get_progress, simplify recovery offset definition and combine two st_resync, st_reshape conditionals into one as is already the case with st_check and st_repair. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>