scsi: lpfc: Change lpfc_nodelist nlp_flag member into a bitmask
[ Upstream commit 92b99f1a ] In attempt to reduce the amount of unnecessary ndlp->lock acquisitions in the lpfc driver, change nlpa_flag into an unsigned long bitmask and use clear_bit/test_bit bitwise atomic APIs instead of reliance on ndlp->lock for synchronization. Signed-off-by:Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20241031223219.152342-10-justintee8345@gmail.com Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Stable-dep-of: b5162bb6 ("scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading