diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-08-10 02:45:59 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-08-16 22:21:31 +0200 |
commit | 31e10a41203dbc95e0c1e81ef49ad1773a50d4f9 (patch) | |
tree | dff467bde67b6df74fdf8793dc4765c7cb6dfb5c /net/rds | |
parent | dm raid: fix frozen recovery regression (diff) | |
download | linux-31e10a41203dbc95e0c1e81ef49ad1773a50d4f9.tar.xz linux-31e10a41203dbc95e0c1e81ef49ad1773a50d4f9.zip |
dm raid: fix restoring of failed devices regression
'lvchange --refresh RaidLV' causes a mapped device suspend/resume cycle
aiming at device restore and resync after transient device failures. This
failed because flag RT_FLAG_RS_RESUMED was always cleared in the suspend path,
thus the device restore wasn't performed in the resume path.
Solve by removing RT_FLAG_RS_RESUMED from the suspend path and resume
unconditionally. Also, remove superfluous comment from raid_resume().
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions