]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54c52e266044c75d47b52e49a723ecfcf2665245
tree5233a0470d29eb5976ec9f6296ef129adf097ed8
parent5e6c765ef4b02f672a3c135d50f9541ff4383788
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