Hi Bart, >Use a spinlock to protect hba->outstanding_reqs instead of using atomic >operations to update this member variable. > >This patch is a performance improvement because it reduces the number of >atomic operations in the hot path (test_and_clear_bit()) and because it >reduces the lock contention on the SCSI host lock. On my test setup this >patch improves IOPS by about 1%. Reviewed-by: Daejun Park <daejun7.park@xxxxxxxxxxx> Thanks, Daejun