diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2019-10-01 18:47:55 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-11-05 22:04:37 +0300 |
commit | 53be73a5d75f477e52c9275ed7aa9307a8b73e5c (patch) | |
tree | 8c444c33071282722a2c27da19727952c1b3f149 /drivers/md/raid5-cache.c | |
parent | f9f3ee9130eb588c75e4a145837d4e6214947c40 (diff) | |
download | linux-53be73a5d75f477e52c9275ed7aa9307a8b73e5c.tar.xz |
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>
Diffstat (limited to 'drivers/md/raid5-cache.c')
0 files changed, 0 insertions, 0 deletions