]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 8 Apr 2015 02:57:52 +0000 (12:57 +1000)
commit557f4dc76db3c28b878a473b04d46a9fd714b565
tree3dec5adee644438f7c81f67a0f7ed700de4ce61e
parentdf2ad9bb33109e9eac7223cdf58f5b9d4847d934
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