]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid5: Change or of some order to improve efficiency.
authormajianpeng <majianpeng@gmail.com>
Thu, 28 Feb 2013 07:50:47 +0000 (15:50 +0800)
committerNeilBrown <neilb@suse.de>
Wed, 27 Mar 2013 06:14:49 +0000 (17:14 +1100)
commit1ce71785356295b267cc02f1ff4e70fd5612cc55
treec7b63f4a4be4a520098a302c47ca43e068b30cfc
parentead28d7fe8cbe11ef785d498c2dd5f2adee265b8
md/raid5: Change or of some order to improve efficiency.

As the function call is the most expensive of these tests it should be
done later in the chain so that it can be avoided in some cases.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c