]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Remove hba lock from NVMET issue WQE.
authorJames Smart <jsmart2021@gmail.com>
Fri, 21 Apr 2017 23:04:58 +0000 (16:04 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:25:49 +0000 (09:25 +0200)
commit59c6e13ecd50fdb2d872617d194e05f2c31f26d7
tree2162d2b5d829e0e139f69ee31b8938898da47018
parent4410a67a9e53d3cf8d1b88169c642d91f1292fb2
Remove hba lock from NVMET issue WQE.

Unnecessary lock is taken. ring lock should be sufficient to protect the
work queue submission.

This was noticed when doing performance testing. The hbalock is not
needed to issue io to the nvme work queue.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/scsi/lpfc/lpfc_nvmet.c