Skip to content

Commit

Permalink
[SCSI] mpt2sas: Removed redundant global mutex for IOCTLs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nagalakshmi.nandigama@lsi.com authored and James Bottomley committed Apr 23, 2012
1 parent 609dc44 commit 913809f
Showing 1 changed file with 122 additions and 175 deletions.
Loading

0 comments on commit 913809f

Please sign in to comment.