OSDN Git Service

raid5: add a new flag to track if a stripe can be batched
authorshli@kernel.org <shli@kernel.org>
Mon, 15 Dec 2014 01:57:03 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 21 Apr 2015 22:00:41 +0000 (08:00 +1000)
commitda41ba65972532a04f73927c903029a7ec3bc2ed
treef259e39b2d333729e0e1cdafbe952f21aaaf0d3f
parent46d5b785621ad10a373e292f9101ccfc626466e0
raid5: add a new flag to track if a stripe can be batched

A freshly new stripe with write request can be batched. Any time the stripe is
handled or new read is queued, the flag will be cleared.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c
drivers/md/raid5.h