]> git.baikalelectronics.ru Git - 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)
commitfd6d1385e1d72a085938eec7912bc7de944034a8
tree2162d2b5d829e0e139f69ee31b8938898da47018
parentfe6af4e2869db981f0a5b53eb9969b10616dc303
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