diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2003-12-15 00:35:56 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-15 00:35:56 -0800 |
| commit | e1f936a94c1b6e519bdffc1ce02bfb8a81035e06 (patch) | |
| tree | 33978343b75783dfd375a26b22120a54a746d10d /include/linux/prefetch.h | |
| parent | 056ffaadc8a7197d681e12b2da9ab61ca68e9a97 (diff) | |
[PATCH] Fix possible bio corruption with RAID5
1/ make sure raid5 doesn't try to handle multiple overlaping
requests at the same time as this would confuse things badly.
Currently it justs BUGs if this is attempted.
2/ Fix a possible data-loss-on-write problem. If two or
more bio's that write to the same page are processed at the
same time, only the first was actually commited to storage.
3/ Fix a use-after-free bug. raid5 keeps the bio's it is given
in linked lists when more than one bio touch a single page.
In some cases the tail of this list can be freed, and
the current test for 'are we at the end' isn't reliable.
This patch strengths the test to make it reliable.
Diffstat (limited to 'include/linux/prefetch.h')
0 files changed, 0 insertions, 0 deletions
