android_kernel_xiaomi_sm8350/include/linux/raid
Dan Williams b5e98d65d3 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>
2007-07-13 08:06:17 -07:00
..
bitmap.h md: don't write more than is required of the last page of a bitmap 2007-05-23 20:14:14 -07:00
Kbuild
linear.h
md_k.h
md_p.h
md_u.h
md.h
multipath.h
raid0.h
raid1.h
raid5.h md: handle_stripe5 - add request/completion logic for async read ops 2007-07-13 08:06:17 -07:00
raid10.h
xor.h async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00