NeilBrown a852d7b8a0 Revert "md/raid5: For odirect-write performance, do not set STRIPE_PREREAD_ACTIVE."
This reverts commit 895e3c5c58a80bb9e4e05d9ac38b4f30e0f97d80.

While this patch seemed like a good idea and did help some workloads,
it hurts other workloads.
Large sequential O_DIRECT writes were faster,
Small random O_DIRECT writes were slower.

Other changes (batching RAID5 writes) have improved the sequential
writes using a different mechanism, so the net result of this patch
is definitely negative.  So revert it.

Reported-by: Shaohua Li <shli@kernel.org>
Tested-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-09-19 12:48:30 +10:00
..
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-03-07 19:09:37 +00:00
2012-07-30 17:25:16 -07:00
2010-08-12 04:14:12 +01:00
2012-07-27 15:08:03 +01:00
2012-07-27 15:08:16 +01:00
2012-03-19 12:46:39 +11:00
2012-08-02 11:34:40 -07:00
2012-03-28 18:43:38 +01:00
2012-08-02 11:34:40 -07:00
2012-08-02 11:34:40 -07:00