diff options
| author | Mikulas Patocka <[email protected]> | 2009-07-23 19:30:37 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2009-07-23 19:30:37 +0000 |
| commit | 69885683d22d8c05910fd808c01fdce1322739b4 (patch) | |
| tree | ad890ab1f667b7528e347e1886a9b7daf6f6c168 /lib/dynamic_debug.c | |
| parent | Linux 2.6.31-rc4 (diff) | |
| download | kernel-69885683d22d8c05910fd808c01fdce1322739b4.tar.gz kernel-69885683d22d8c05910fd808c01fdce1322739b4.zip | |
dm raid1: wake kmirrord when requeueing delayed bios after remote recovery
The recent commit 7513c2a761d69d2a93f17146b3563527d3618ba0 (dm raid1:
add is_remote_recovering hook for clusters) changed do_writes() to
update the ms->writes list but forgot to wake up kmirrord to process it.
The rule is that when anything is being added on ms->reads, ms->writes
or ms->failures and the list was empty before we must call
wakeup_mirrord (for immediate processing) or delayed_wake (for delayed
processing). Otherwise the bios could sit on the list indefinitely.
Signed-off-by: Mikulas Patocka <[email protected]>
CC: [email protected]
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
