From: Roland Dreier Date: Thu, 23 Jul 2015 21:53:32 +0000 (-0700) Subject: target: Drop iSCSI use of mutex around max_cmd_sn increment X-Git-Tag: omap-for-v4.3/fixes-rc1~24^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109e2381749c1cfd94a0d22b2b54142539024973;p=pandora-kernel.git target: Drop iSCSI use of mutex around max_cmd_sn increment In a performance profile, taking a mutex in iscsit_increment_maxcmdsn() shows up very high. However taking a mutex around "sess->max_cmd_sn += 1" seems pretty silly: we're not serializing against other contexts in any useful way. I did a quick audit and there don't appear to be any other places that use max_cmd_sn within the mutex more than once, so this lock can't be providing any useful serialization. (Get correct values for logging - fix whitespace damage) Signed-off-by: Roland Dreier Signed-off-by: Spencer Baugh Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed