]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[mpt2sas] remove the global mutex
authorNagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Mon, 7 May 2012 20:23:48 +0000 (13:23 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:32:32 +0000 (17:32 -0700)
commit36ccb0300389b4f3a71be8e915baf764d8d5ee0a
treef4c59deba5fd650093ab900ccc19e48e95ac63f2
parent030a9c6c482455aea6348303d309332e06e3257c
[mpt2sas] remove the global mutex

Orabug: 14040678
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: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/scsi/mpt2sas/mpt2sas_ctl.c