]> git.karo-electronics.de Git - karo-tx-linux.git/commit
raid5: relieve lock contention in get_active_stripe()
authorShaohua Li <shli@kernel.org>
Thu, 12 Sep 2013 01:55:07 +0000 (09:55 +0800)
committerNeilBrown <neilb@suse.de>
Thu, 24 Oct 2013 02:39:59 +0000 (13:39 +1100)
commitd1eaec44c9cd91f743ce58074b9eb18ca6f6e2d2
treed3892509ad9d2302770ed18479b7a5acd0cf5295
parent2c04cc85d51e048bf61ba23203e1c0a8e1c2eab0
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