diff options
| author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-12-18 19:35:41 +0300 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2018-12-18 21:48:35 +0300 |
| commit | 74694bcbdf7e28a5ad548cdda9ac56d30be00d13 (patch) | |
| tree | 44eabdc82e3b9ac13159650576f06c0b71f523f1 /include/linux/timerqueue.h | |
| parent | 34743bfddef2c50af20234ae873324ca49320a55 (diff) | |
| download | linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
