diff options
| author | Hua Zhong <[email protected]> | 2006-10-03 01:14:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-03 08:04:07 -0700 |
| commit | ce42f19137225d01be9388a73703df40fb7af80f (patch) | |
| tree | 16d9b0bc3a5bd30c69b03836d44c1db4338628c4 /include/linux | |
| parent | dc844e05913b84d09e86d88c0f861ef0afbee2fd (diff) | |
[PATCH] IDE error handling fixes
In 2.6.15.1 I encountered some IDE crashes when unplugging IDE cables to
emulate disk errors. Below is a patch against 2.6.16 which I think still
applies.
1. The first BUG_ON could trigger when a PREFLUSH IO fails (it would
fail the original barrier request which hasn't been marked REQ_STARTED
yet).
2. the rq could have been dequeued already (same as 1).
3. HWGROUP(drive)->rq could be NULL because of the ide_error() several
lines earlier.
Signed-off-by: Hua Zhong <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions