diff options
| author | Roman Bolshakov <[email protected]> | 2021-11-12 14:54:46 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-07 03:38:17 +0000 |
| commit | 69002c8ce914ef0ae22a6ea14b43bb30b9a9a6a8 (patch) | |
| tree | fb2aa5b48d7240ec362359d5fcf823aced55b540 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | scsi: scsi_debug: Fix buffer size of REPORT ZONES command (diff) | |
| download | kernel-69002c8ce914ef0ae22a6ea14b43bb30b9a9a6a8.tar.gz kernel-69002c8ce914ef0ae22a6ea14b43bb30b9a9a6a8.zip | |
scsi: qla2xxx: Format log strings only if needed
Commit 598a90f2002c ("scsi: qla2xxx: add ring buffer for tracing debug
logs") introduced unconditional log string formatting to ql_dbg() even if
ql_dbg_log event is disabled. It harms performance because some strings are
formatted in fastpath and/or interrupt context.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 598a90f2002c ("scsi: qla2xxx: add ring buffer for tracing debug logs")
Cc: Rajan Shanmugavelu <[email protected]>
Cc: [email protected]
Signed-off-by: Roman Bolshakov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
