From: Dan Williams Date: Tue, 2 Jan 2007 20:52:31 +0000 (-0700) Subject: md: handle_stripe5 - add request/completion logic for async read ops X-Git-Tag: v2.6.23-rc1~1077^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5e98d65d34a1c11a2135ea8a9b2619dbc7216c8;p=pandora-kernel.git 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 Acked-By: NeilBrown --- Reading git-diff-tree failed