summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorshli@kernel.org <shli@kernel.org>2014-12-15 12:57:03 +1100
committerNeilBrown <neilb@suse.de>2015-04-22 08:00:41 +1000
commitda41ba65972532a04f73927c903029a7ec3bc2ed (patch)
treef259e39b2d333729e0e1cdafbe952f21aaaf0d3f /drivers/md/raid5.h
parent46d5b785621ad10a373e292f9101ccfc626466e0 (diff)
downloadlinux-da41ba65972532a04f73927c903029a7ec3bc2ed.tar.gz
linux-da41ba65972532a04f73927c903029a7ec3bc2ed.tar.bz2
linux-da41ba65972532a04f73927c903029a7ec3bc2ed.zip
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>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index 1d0f241d7d3b..37644e3d5293 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -327,6 +327,7 @@ enum {
STRIPE_ON_UNPLUG_LIST,
STRIPE_DISCARD,
STRIPE_ON_RELEASE_LIST,
+ STRIPE_BATCH_READY,
};
/*