diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-01-31 21:51:09 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-06 04:51:36 +0300 |
commit | a645b8c1f5bcfc5d6ce8cb8eb2015bcbc4b37909 (patch) | |
tree | 4ca15408bc125a2d1c0f1730e85c5fd398b1e765 /drivers/virt | |
parent | 9bb36777d0a2a22f11264c36f91a2682bfedb9d4 (diff) | |
download | linux-a645b8c1f5bcfc5d6ce8cb8eb2015bcbc4b37909.tar.xz |
scsi: lpfc: Change lpfc_vport fc_flag member into a bitmask
In attempt to reduce the amount of unnecessary shost_lock acquisitions in
the lpfc driver, change fc_flag into an unsigned long bitmask and use
clear_bit/test_bit bitwise atomic APIs instead of reliance on shost_lock
for synchronization.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240131185112.149731-15-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions