]> 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>
Wed, 16 Oct 2013 02:24:45 +0000 (13:24 +1100)
commit85d11d0735696f26df3aa0c6d2ba3e974c8eebe9
treec5253a540fa9850808a573ab4712079d4072b368
parent481e1fb034d23e2e200fe9185e73ca52f3bfa70f
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