diff options
| author | Mikulas Patocka <[email protected]> | 2009-12-10 23:52:06 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2009-12-10 23:52:06 +0000 |
| commit | 929be8fcb4b4b65d038e73d3bb34715851a95ca2 (patch) | |
| tree | 7c008317d90232b5b2d3869b9fa68c1ec023d7f6 /include/linux | |
| parent | 60f355ead31e2be8d06ac8acb163df91a1c64e3b (diff) | |
dm raid1: hold all write bios when leg fails
Hold all write bios when leg fails and errors are handled
When using a userspace daemon such as dmeventd to handle errors, we must
delay completing bios until it has done its job.
This patch prevents the following race:
- primary leg fails
- write "1" fail, the write is held, secondary leg is set default
- write "2" goes straight to the secondary leg
Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Takahiro Yasui <[email protected]>
Tested-by: Takahiro Yasui <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions