diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2003-06-04 09:29:59 -0700 |
|---|---|---|
| committer | Ben Collins <bcollins@debian.org> | 2003-06-04 09:29:59 -0700 |
| commit | 1e23fe7dc8d5a883cf6fc4ec6737eca05b9e8571 (patch) | |
| tree | 3a857157534b47aabf933969e61626d153c801a6 /include/linux/ppdev.h | |
| parent | b6d201a6b5f0386bcea5a0a909084a9090cdba3c (diff) | |
[PATCH] Fix raid1 handling of writing to multiple devices.
When raid1 writes, it needs to schedule writes to some number
of devices, and when all writes have completed, the r1_bio
structure that holds it all together must be freed.
However we must make sure not to free it before all devices
have been considered for submitting writes to.
This happens in two places: when submitting a normal write request
and when submiting a write as part of resync.
This patch makes both these places:
the same
simpler
more correct.
Diffstat (limited to 'include/linux/ppdev.h')
0 files changed, 0 insertions, 0 deletions
