diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-12-18 17:35:41 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-12-18 13:48:35 -0500 |
commit | 74694bcbdf7e28a5ad548cdda9ac56d30be00d13 (patch) | |
tree | 44eabdc82e3b9ac13159650576f06c0b71f523f1 /drivers/i2c | |
parent | 34743bfddef2c50af20234ae873324ca49320a55 (diff) | |
download | linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.tar.gz linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.tar.bz2 linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.zip |
dm raid: fix false -EBUSY when handling check/repair message
Sending a check/repair message infrequently leads to -EBUSY instead of
properly identifying an active resync. This occurs because
raid_message() is testing recovery bits in a racy way.
Fix by calling decipher_sync_action() from raid_message() to properly
identify the idle state of the RAID device.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions