diff options
author | Dan Williams <dan.j.williams@intel.com> | 2007-01-02 21:52:31 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2007-07-13 17:06:17 +0200 |
commit | b5e98d65d34a1c11a2135ea8a9b2619dbc7216c8 (patch) | |
tree | bf88aad375bb0cbf6c346ec912c06c2607850b21 /drivers/crypto | |
parent | md: handle_stripe5 - add request/completion logic for async check ops (diff) | |
download | linux-b5e98d65d34a1c11a2135ea8a9b2619dbc7216c8.tar.xz linux-b5e98d65d34a1c11a2135ea8a9b2619dbc7216c8.zip |
md: handle_stripe5 - add request/completion logic for async read ops
When a read bio is attached to the stripe and the corresponding block is
marked R5_UPTODATE, then a read (biofill) operation is scheduled to copy
the data from the stripe cache to the bio buffer. handle_stripe flags the
blocks to be operated on with the R5_Wantfill flag. If new read requests
arrive while raid5_run_ops is running they will not be handled until
handle_stripe is scheduled to run again.
Changelog:
* cleanup to_read and to_fill accounting
* do not fail reads that have reached the cache
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-By: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions