Commit ab6c18a
Karan Kumar
scsi: fnic: Remove unnecessary spinlock locking and unlocking
JIRA: https://issues.redhat.com/browse/RHEL-64440
Remove unnecessary locking and unlocking of spinlock in
fdls_schedule_oxid_free_retry_work(). This will shorten the time in the
critical section.
Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Fixes: a63e78e ("scsi: fnic: Add support for fabric based solicited requests and responses")
Reviewed-by: Sesidhar Baddela <sebaddel@cisco.com>
Reviewed-by: Arulprabhu Ponnusamy <arulponn@cisco.com>
Reviewed-by: Gian Carlo Boffa <gcboffa@cisco.com>
Reviewed-by: Arun Easi <aeasi@cisco.com>
Tested-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Karan Tilak Kumar <kartilak@cisco.com>
Link: https://lore.kernel.org/r/20250301013712.3115-2-kartilak@cisco.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit f421692)
Signed-off-by: Karan Kumar <karkumar@redhat.com>1 parent 98e97e7 commit ab6c18a
1 file changed
+7
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | 314 | | |
317 | 315 | | |
318 | 316 | | |
319 | 317 | | |
320 | 318 | | |
321 | | - | |
322 | 319 | | |
323 | | - | |
324 | | - | |
325 | 320 | | |
326 | 321 | | |
327 | 322 | | |
328 | | - | |
329 | 323 | | |
330 | 324 | | |
331 | 325 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
341 | 333 | | |
342 | | - | |
343 | | - | |
344 | 334 | | |
345 | 335 | | |
346 | 336 | | |
| |||
0 commit comments