raid5: relieve lock contention in get_active_stripe()
authorShaohua Li <shli@kernel.org>
Thu, 14 Nov 2013 04:16:17 +0000 (15:16 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 19 Nov 2013 04:18:22 +0000 (15:18 +1100)
commit4bda556aea1d2916260326c6afa77b84a1f1345a
tree5233a0470d29eb5976ec9f6296ef129adf097ed8
parent566c09c53455d7c4f1130928ef8071da1a24ea65
raid5: relieve lock contention in get_active_stripe()

track empty inactive list count, so md_raid5_congested() can use it to make
decision.

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