summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorshli@kernel.org <shli@kernel.org>2014-12-15 02:57:03 +0100
committerNeilBrown <neilb@suse.de>2015-04-22 00:00:41 +0200
commitda41ba65972532a04f73927c903029a7ec3bc2ed (patch)
treef259e39b2d333729e0e1cdafbe952f21aaaf0d3f /drivers/md/raid5.h
parentraid5: use flex_array for scribble data (diff)
downloadlinux-da41ba65972532a04f73927c903029a7ec3bc2ed.tar.xz
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,
};
/*