commit | 67143510a7e3634a23f06a48445d1148b2fdbc4d | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Sat Dec 02 01:03:53 2017 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Dec 08 10:59:58 2017 -0500 |
tree | 969f40fe4b4d2b93c929388f39d021603509c75a | |
parent | d39f0010e40964d959c5157be02839da8a178015 [diff] |
dm raid: display a consistent copy of the MD status via raid_status() The MD sync thread updates recovery flags providing state of any running, idle, frozen, recovering, reshaping, ... activity it performs and updates respective flags asynchronously versus dm processing raid_status(). To close that race window, take a single copy of the flags and pass it into its callees. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>