]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: Removed redundant global mutex for IOCTLs
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>
Tue, 20 Mar 2012 06:34:11 +0000 (12:04 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 23 Apr 2012 18:26:56 +0000 (19:26 +0100)
commit1f16c2422cb85cdd230b32f5b252c4432f4a8fa4
tree66e2c489dbeecf7405ac0d494af9e8ab6f593ed3
parente7fff6c517836013c5074af74d75f252fc64f375
[SCSI] mpt2sas: Removed redundant global mutex for IOCTLs

When the lock_kernel and unlock_kernel routines were removed in the
2.6.39 kernel, a global mutex was added on top of the existing mutex
which already existed. With this implementation, only one IOCTL
will be active at any time no matter how many ever controllers
are present. This causes poor performance.

Removed the global mutex so that the driver can work with the existing
semaphore that was already part of the existing code.

Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_ctl.c